Skip to content

Commit

Permalink
disable logs
Browse files Browse the repository at this point in the history
  • Loading branch information
mikevoronov committed Apr 28, 2020
1 parent 654e398 commit dde3fce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit dde3fce

Please sign in to comment.