1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-14 10:13:05 +02:00
pgbackrest/lib/pgBackRest/Protocol
David Steele d41570c37a Improve log file names for remote processes started by locals.
The log-subprocess feature added in 22765670 failed to take into account the naming for remote processes spawned by local processes.  Not only was the local command used for the naming of log files but the process id was not pass through.  This meant every remote log was named "[stanza]-local-remote-000" which is confusing and meant multiple processes were writing to the same log.

Instead, pass the real command and process id to the remote.  This required a minor change in locking to ignore locks if process id is greater than 0 since remotes started by locals never lock.
2018-08-31 11:31:13 -04:00
..
Base Improve log file names for remote processes started by locals. 2018-08-31 11:31:13 -04:00
Command Perl error handler recognizes errors thrown from the C library. 2017-10-16 10:47:31 -04:00
Local Add log-subprocess option to allow file logging for local and remote subprocesses. 2018-08-22 20:05:49 -04:00
Remote Refactor archive common functions in preparation for parallel async archive-get. 2018-04-29 10:16:59 -04:00
Storage Add repo-s3-token option to allow temporary credentials tokens to be configured. 2018-05-02 14:06:40 -04:00
Helper.pm Improve log file names for remote processes started by locals. 2018-08-31 11:31:13 -04:00