27 lines
479 B
YAML
27 lines
479 B
YAML
version: 1
|
|
|
|
formatters:
|
|
fmt:
|
|
format: '%(asctime)s - %(name)s - %(lineno)d - %(levelname)s - %(request)s- %(message)s'
|
|
|
|
filters:
|
|
context:
|
|
(): synapse.logging.context.LoggingContextFilter
|
|
request: ""
|
|
|
|
handlers:
|
|
console:
|
|
class: logging.StreamHandler
|
|
formatter: fmt
|
|
filters: [context]
|
|
|
|
root:
|
|
level: INFO
|
|
handlers: [console] # to use file handler instead, switch to [file]
|
|
|
|
loggers:
|
|
synapse:
|
|
level: INFO
|
|
|
|
synapse.storage.SQL:
|
|
level: INFO
|