diff --git a/src/server.c b/src/server.c index dc4f278ba91..9ed0ab5fb65 100644 --- a/src/server.c +++ b/src/server.c @@ -411,7 +411,9 @@ void serverLogRaw(int level, const char *msg) { if (!log_to_stdout) fclose(fp); if (server.syslog_enabled) syslog(syslogLevelMap[level], "%s", msg); #else +#if LOG_ENABLED log_utf8_string(msg, strlen(msg)); +#endif // increment time ustime();