Understanding Redis Logs

38 views
Skip to first unread message

Luvpreet Singh

unread,
May 12, 2017, 3:25:12 AM5/12/17
to Redis DB
I want to learn about the entries in the redis logs.

Here is an entry,

51637:M 12 May 12:03:50.190 * Background saving terminated with success


What is this "51637:M"

and what does this * stands for ?

Salvatore Sanfilippo

unread,
May 12, 2017, 4:01:30 AM5/12/17
to redi...@googlegroups.com
Hello,

51637: pid
M -> The instance is a master (can be S for slaves or C for saving
forked processes, that are, "C"hilds). Also can be X for Sentinel.
* -> Log level, they are ".-*#" corresponding to LOG_DEBUG, LOG_INFO,
LOG_NOTICE, LOG_WARNING

Salvatore
> --
> You received this message because you are subscribed to the Google Groups
> "Redis DB" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to redis-db+u...@googlegroups.com.
> To post to this group, send email to redi...@googlegroups.com.
> Visit this group at https://groups.google.com/group/redis-db.
> For more options, visit https://groups.google.com/d/optout.



--
Salvatore 'antirez' Sanfilippo
open source developer - Redis Labs https://redislabs.com

"If a system is to have conceptual integrity, someone must control the
concepts."
— Fred Brooks, "The Mythical Man-Month", 1975.

Luvpreet Singh

unread,
May 12, 2017, 4:31:05 AM5/12/17
to Redis DB
Thanks very much
Reply all
Reply to author
Forward
0 new messages