MSG_WARNING support between daemon and LD_PRELOADed application
log output format changed
Change-Id: I80c08e2412daea29b51df4897530f32787a0280a
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
MSG_PID = 8,
MSG_MSG = 9,
MSG_ALLOC = 10,
- MSG_ERROR = 11
+ MSG_ERROR = 11,
+ MSG_WARNING = 12
};
#define IS_PROBE_MSG(type) (((type) & 0x0100) == 0x0100)
break;
} else if (log.type == MSG_MSG) {
// don't send to host
- LOGI("EXTRA MSG(%u) len=%u data='%s'\n", log.type,
- log.length, log.data);
+ LOGI("EXTRA '%s'\n", log.data);
continue;
} else if (log.type == MSG_ERROR) {
// don't send to host
- LOGE("EXTRA MSG(%u) len=%u data='%s'\n", log.type,
- log.length, log.data);
+ LOGE("EXTRA '%s'\n", log.data);
+ continue;
+ } else if (log.type == MSG_WARNING) {
+ // don't send to host
+ LOGW("EXTRA '%s'\n", log.data);
continue;
}
#ifdef PRINT_TARGET_LOG