mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-25 08:06:29 +00:00
Removed any sprintf/strcpy call and use snprintf/strncpy - Fixed bug with tblspc_dir - added debug messages after every query
This commit is contained in:
committed by
Greg Smith
parent
716a0ae9d3
commit
3f1c6a5852
4
log.c
4
log.c
@@ -80,7 +80,9 @@ bool logger_init(const char* ident, const char* level, const char* facility)
|
||||
|
||||
if (f == 0) {
|
||||
/* No syslog requested, just stderr */
|
||||
stderr_log_notice(_("Use stderr for logging\n"));
|
||||
#ifdef REPMGR_DEBUG
|
||||
printf(_("Use stderr for logging\n"));
|
||||
#endif
|
||||
return true;
|
||||
}
|
||||
else if (f == -1) {
|
||||
|
||||
Reference in New Issue
Block a user