ulog: always use stderr for ulog_stdio().
stdout is for normal program output. Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
This commit is contained in:
parent
4c94515cc8
commit
d1c66ef113
1 changed files with 0 additions and 3 deletions
3
ulog.c
3
ulog.c
|
@ -105,9 +105,6 @@ static void ulog_stdio(int priority, const char *fmt, va_list ap)
|
||||||
{
|
{
|
||||||
FILE *out = stderr;
|
FILE *out = stderr;
|
||||||
|
|
||||||
if (priority == LOG_INFO || priority == LOG_NOTICE)
|
|
||||||
out = stdout;
|
|
||||||
|
|
||||||
if (_ulog_ident)
|
if (_ulog_ident)
|
||||||
fprintf(out, "%s: ", _ulog_ident);
|
fprintf(out, "%s: ", _ulog_ident);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue