mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 08:36:30 +00:00
new config option, stdout/stdin closed
Now stdin and stdout get closed. Additionally stderr gets closed and reopened to the new config option „logfile“ if specified
This commit is contained in:
2
repmgr.c
2
repmgr.c
@@ -322,7 +322,7 @@ main(int argc, char **argv)
|
||||
* at, but it often requires detailed logging to troubleshoot
|
||||
* problems.
|
||||
*/
|
||||
logger_init(progname, options.loglevel, options.logfacility);
|
||||
logger_init(&options, progname, options.loglevel, options.logfacility);
|
||||
if (runtime_options.verbose)
|
||||
logger_min_verbose(LOG_INFO);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user