mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2024-12-02 09:53:24 +02:00
Fix writing to error_log_file without log_file
This commit is contained in:
parent
5ab28f954e
commit
e02e09f40b
@ -196,7 +196,7 @@ elog_internal(int elevel, const char *fmt, va_list args)
|
||||
if (error_log_file == NULL)
|
||||
open_logfile(&error_log_file, error_log_filename);
|
||||
|
||||
fprintf(log_file, "%s: ", strfbuf);
|
||||
fprintf(error_log_file, "%s: ", strfbuf);
|
||||
write_elevel(error_log_file, elevel);
|
||||
|
||||
vfprintf(error_log_file, fmt, error_args);
|
||||
|
Loading…
Reference in New Issue
Block a user