mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 16:46:28 +00:00
repmgr: don't display timestamp in log output
Differentiate between repmgr and repmgrd output
This commit is contained in:
9
repmgr.c
9
repmgr.c
@@ -265,6 +265,13 @@ main(int argc, char **argv)
|
||||
exit(1);
|
||||
}
|
||||
|
||||
/*
|
||||
* Tell the logger we're a command-line program - this will
|
||||
* ensure any output logged before the logger is initialized
|
||||
* will be formatted correctly
|
||||
*/
|
||||
logger_output_mode = OM_COMMAND_LINE;
|
||||
|
||||
initialize_conninfo_params(&source_conninfo, true);
|
||||
|
||||
/*
|
||||
@@ -837,7 +844,7 @@ main(int argc, char **argv)
|
||||
* which makes little sense for a command line program.
|
||||
*/
|
||||
|
||||
logger_init(&options, progname(), true);
|
||||
logger_init(&options, progname());
|
||||
|
||||
if (runtime_options.verbose)
|
||||
logger_set_verbose();
|
||||
|
||||
Reference in New Issue
Block a user