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 70f3f61ac4
commit 57cfb709b8
2 changed files with 5 additions and 3 deletions

View File

@ -896,11 +896,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;
}
}