Skip to content

Commit 0887650

Browse files
committed
Fix logging messages to a stderr
1 parent c21fa15 commit 0887650

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/logger.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ elog_internal(int elevel, const char *fmt, va_list args)
141141

142142
write_to_error_log =
143143
elevel >= ERROR && error_log_filename && write_to_file;
144-
write_to_stderr = elevel >= ERROR || !write_to_file;
144+
write_to_stderr = elevel >= ERROR || !LOG_TO_FILE;
145145

146146
/* We need copy args only if we need write to error log file */
147147
if (write_to_error_log)

0 commit comments

Comments
 (0)