mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2024-11-25 09:01:48 +02:00
[Issue #178] enabled logging into file breaks recovery via archive-get
This commit is contained in:
parent
c2f3968736
commit
c3d716383a
@ -533,6 +533,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);
|
||||
|
Loading…
Reference in New Issue
Block a user