mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-25 08:06:29 +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
log.h
2
log.h
@@ -114,7 +114,7 @@ void stderr_log_with_level(const char *level_name, int level, const char *fmt, .
|
||||
|
||||
/* Logger initialisation and shutdown */
|
||||
bool logger_shutdown(void);
|
||||
bool logger_init(const char* ident, const char* level, const char* facility);
|
||||
bool logger_init(t_configuration_options *opts, const char* ident, const char* level, const char* facility);
|
||||
void logger_min_verbose(int minimum);
|
||||
|
||||
extern int log_type;
|
||||
|
||||
Reference in New Issue
Block a user