Skip to content

Commit 5f33b24

Browse files
committed
Merge branch 'issue_169' into issue_174
2 parents 1bc861f + 9811acf commit 5f33b24

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/pg_probackup.c

+8
Original file line numberDiff line numberDiff line change
@@ -540,6 +540,14 @@ main(int argc, char *argv[])
540540
setMyLocation();
541541
}
542542

543+
/* disable logging into file for archive-push and archive-get */
544+
if (backup_subcmd == ARCHIVE_GET_CMD ||
545+
backup_subcmd == ARCHIVE_PUSH_CMD)
546+
{
547+
instance_config.logger.log_level_file = LOG_OFF;
548+
}
549+
550+
543551
/* Just read environment variables */
544552
if (backup_path == NULL && backup_subcmd == CHECKDB_CMD)
545553
config_get_opt_env(instance_options);

0 commit comments

Comments
 (0)