What's the meaning of these log entries?
Solved
Support
-
Hello,
I see entries like these in the log of my Nextcloud app:
[...] May 20 20:49:22 11:M 20 May 2023 18:49:22.055 * 10 changes in 300 seconds. Saving... May 20 20:49:22 11:M 20 May 2023 18:49:22.056 * Background saving started by pid 645 May 20 20:49:22 645:C 20 May 2023 18:49:22.066 * DB saved on disk May 20 20:49:22 645:C 20 May 2023 18:49:22.067 * RDB: 0 MB of memory used by copy-on-write May 20 20:49:22 11:M 20 May 2023 18:49:22.156 * Background saving terminated with success [...]
What's the meaning of entries like "11:M" and "645:C"?
Best Regards,
-
redis logs are of the format
pid:role timestamp loglevel message
. pid is container local.Role is:
- X sentinel
- C RDB/AOF writing child
- S slave
- M master
Unfortunately, there is no way to change the log format in redis (afaik). We just need the message really (others are not useful on Cloudron). See also https://github.com/redis/redis/issues/2545
-
-