MXS-1819 Also log info messages to syslog

If info messages are enabled, they will be logged to syslog
just like any other messages.
This commit is contained in:
Johan Wikman
2018-04-24 10:02:47 +03:00
parent 627c1945bc
commit 65260c365d
2 changed files with 5 additions and 3 deletions

View File

@ -895,11 +895,12 @@ static int logmanager_write_log(int priority,
case LOG_ERR:
case LOG_WARNING:
case LOG_NOTICE:
case LOG_INFO:
syslog(priority, "%s", message);
break;
default:
// LOG_INFO and LOG_DEBUG messages are never written to syslog.
// LOG_DEBUG messages are never written to syslog.
break;
}
}