We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfa3054 commit 85adfcbCopy full SHA for 85adfcb
src/pg_probackup.c
@@ -310,9 +310,6 @@ main(int argc, char *argv[])
310
if (rc != -1 && !S_ISDIR(stat_buf.st_mode))
311
elog(ERROR, "-B, --backup-path must be a path to directory");
312
313
- /* Initialize logger */
314
- init_logger(backup_path);
315
-
316
/* command was initialized for a few commands */
317
if (command)
318
{
@@ -365,6 +362,9 @@ main(int argc, char *argv[])
365
362
pgut_readopt(path, options, ERROR);
366
363
}
367
364
+ /* Initialize logger */
+ init_logger(backup_path);
+
368
/*
369
* We have read pgdata path from command line or from configuration file.
370
* Ensure that pgdata is an absolute path.
0 commit comments