Skip to content

Commit 9811acf

Browse files
committed
Merge branch 'master' into issue_169
2 parents e9c3175 + c3d7163 commit 9811acf

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
@@ -538,6 +538,14 @@ main(int argc, char *argv[])
538538
setMyLocation();
539539
}
540540

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

0 commit comments

Comments
 (0)