fix log rotation to be less verbose (Closes: #927057)

parent 03e7ef8b
......@@ -14,12 +14,12 @@ filters:
handlers:
file:
class: logging.handlers.RotatingFileHandler
class: logging.handlers.WatchedFileHandler
formatter: precise
filename: /var/log/matrix-synapse/homeserver.log
maxBytes: 104857600
backupCount: 10
filters: [context]
level: DEBUG
encoding: utf8
console:
class: logging.StreamHandler
formatter: precise
......@@ -31,12 +31,18 @@ handlers:
SYSLOG_IDENTIFIER: synapse
loggers:
twisted:
level: WARN
synapse:
level: INFO
level: WARN
synapse.storage.SQL:
level: INFO
synapse.http.matrixfederationclient:
level: ERROR
root:
level: INFO
handlers: [file, journal]
/var/log/matrix-synapse/homeserver.log {
rotate 7
daily
missingok
notifempty
delaycompress
compress
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment