2017-07-21 22:28:49 +02:00
|
|
|
|
|
|
|
version: 1
|
|
|
|
|
|
|
|
formatters:
|
|
|
|
precise:
|
|
|
|
format: '%(asctime)s - %(name)s - %(lineno)d - %(levelname)s - %(request)s- %(message)s'
|
|
|
|
|
|
|
|
filters:
|
|
|
|
context:
|
|
|
|
(): synapse.util.logcontext.LoggingContextFilter
|
|
|
|
request: ""
|
|
|
|
|
|
|
|
handlers:
|
|
|
|
file:
|
|
|
|
class: logging.handlers.RotatingFileHandler
|
|
|
|
formatter: precise
|
2018-01-19 22:05:39 +01:00
|
|
|
filename: /var/log/matrix-__APP__/homeserver.log
|
2017-07-21 22:28:49 +02:00
|
|
|
filters: [context]
|
|
|
|
level: INFO
|
|
|
|
console:
|
|
|
|
class: logging.StreamHandler
|
|
|
|
formatter: precise
|
|
|
|
level: WARN
|
|
|
|
|
|
|
|
loggers:
|
|
|
|
synapse:
|
|
|
|
level: INFO
|
|
|
|
|
|
|
|
synapse.storage.SQL:
|
|
|
|
level: INFO
|
|
|
|
|
|
|
|
root:
|
|
|
|
level: INFO
|
|
|
|
handlers: [file, console]
|