1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2026-05-16 09:48:14 +02:00

Fix logging messages to a stderr

This commit is contained in:
Arthur Zakirov
2017-08-22 10:59:38 +03:00
parent c21fa15b64
commit 0887650a3e
+1 -1
View File
@@ -141,7 +141,7 @@ elog_internal(int elevel, const char *fmt, va_list args)
write_to_error_log = write_to_error_log =
elevel >= ERROR && error_log_filename && write_to_file; elevel >= ERROR && error_log_filename && write_to_file;
write_to_stderr = elevel >= ERROR || !write_to_file; write_to_stderr = elevel >= ERROR || !LOG_TO_FILE;
/* We need copy args only if we need write to error log file */ /* We need copy args only if we need write to error log file */
if (write_to_error_log) if (write_to_error_log)