mirror of
https://github.com/fluencelabs/redis
synced 2025-04-26 02:52:15 +00:00
disable logs
This commit is contained in:
parent
654e398f76
commit
dde3fcec49
@ -411,7 +411,9 @@ void serverLogRaw(int level, const char *msg) {
|
|||||||
if (!log_to_stdout) fclose(fp);
|
if (!log_to_stdout) fclose(fp);
|
||||||
if (server.syslog_enabled) syslog(syslogLevelMap[level], "%s", msg);
|
if (server.syslog_enabled) syslog(syslogLevelMap[level], "%s", msg);
|
||||||
#else
|
#else
|
||||||
|
#if LOG_ENABLED
|
||||||
log_utf8_string(msg, strlen(msg));
|
log_utf8_string(msg, strlen(msg));
|
||||||
|
#endif
|
||||||
|
|
||||||
// increment time
|
// increment time
|
||||||
ustime();
|
ustime();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user