1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-01-07 13:40:17 +02:00

Merge branch 'master' into issue_169

This commit is contained in:
Grigory Smolkin 2020-03-04 01:20:49 +03:00
commit 9811acfa45

View File

@ -538,6 +538,14 @@ main(int argc, char *argv[])
setMyLocation();
}
/* disable logging into file for archive-push and archive-get */
if (backup_subcmd == ARCHIVE_GET_CMD ||
backup_subcmd == ARCHIVE_PUSH_CMD)
{
instance_config.logger.log_level_file = LOG_OFF;
}
/* Just read environment variables */
if (backup_path == NULL && backup_subcmd == CHECKDB_CMD)
config_get_opt_env(instance_options);