util: standarize output destination 00/171400/6
authorMichal Bloch <m.bloch@samsung.com>
Fri, 2 Mar 2018 09:12:14 +0000 (10:12 +0100)
committerMichal Bloch <m.bloch@samsung.com>
Wed, 7 Mar 2018 13:30:05 +0000 (14:30 +0100)
commite6e3da63af8dd91eedf7685a8e9f50145419fbaf
treeee8607df5898604661a93d97f845ba43d3180937
parent47739617cfe63ba9e6bd993fd5c67bb4bfd39de8
util: standarize output destination

Errors used to end up either in stdout or stderr without any apparent
pattern. All errors will now end up in stderr, with stdout being used
only for actual logs (or, in case of -g, the size).

Additionally, rename the _E and _D macros to ERR and DBG respectively
since there is a convention in application code that that these are
for sending logs to dlog itself.

Change-Id: Ie53fc55d4ad47a1d7cf28278d5b5392e58d9be1e
Signed-off-by: Michal Bloch <m.bloch@samsung.com>
include/logcommon.h
src/logutil/fdi_binfile.c
src/logutil/fdi_logger.c
src/logutil/fdi_pipe.c
src/logutil/logutil.c
src/logutil/logutil_doc.h
src/shared/log_file.c
src/shared/logprint.c