mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 17:10:50 +00:00
parent
b8a48ad5fe
commit
eca9fbdb50
12
src/redis.c
12
src/redis.c
@ -3404,6 +3404,17 @@ void redisAsciiArt(void) {
|
|||||||
else if (server.sentinel_mode) mode = "sentinel";
|
else if (server.sentinel_mode) mode = "sentinel";
|
||||||
else mode = "standalone";
|
else mode = "standalone";
|
||||||
|
|
||||||
|
if (server.syslog_enabled) {
|
||||||
|
redisLog(REDIS_NOTICE,
|
||||||
|
"Redis %s (%s/%d) %s bit, %s mode, port %d, pid %ld ready to start.",
|
||||||
|
REDIS_VERSION,
|
||||||
|
redisGitSHA1(),
|
||||||
|
strtol(redisGitDirty(),NULL,10) > 0,
|
||||||
|
(sizeof(long) == 8) ? "64" : "32",
|
||||||
|
mode, server.port,
|
||||||
|
(long) getpid()
|
||||||
|
);
|
||||||
|
} else {
|
||||||
snprintf(buf,1024*16,ascii_logo,
|
snprintf(buf,1024*16,ascii_logo,
|
||||||
REDIS_VERSION,
|
REDIS_VERSION,
|
||||||
redisGitSHA1(),
|
redisGitSHA1(),
|
||||||
@ -3413,6 +3424,7 @@ void redisAsciiArt(void) {
|
|||||||
(long) getpid()
|
(long) getpid()
|
||||||
);
|
);
|
||||||
redisLogRaw(REDIS_NOTICE|REDIS_LOG_RAW,buf);
|
redisLogRaw(REDIS_NOTICE|REDIS_LOG_RAW,buf);
|
||||||
|
}
|
||||||
zfree(buf);
|
zfree(buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user