42 lines
687 B
YAML
Executable file
42 lines
687 B
YAML
Executable file
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]
|
|
file:
|
|
class: logging.handlers.TimedRotatingFileHandler
|
|
formatter: fmt
|
|
filename: /logs/worker-generic.log
|
|
when: midnight
|
|
backupCount: 3
|
|
encoding: utf8
|
|
|
|
root:
|
|
level: INFO
|
|
handlers:
|
|
- console
|
|
- file
|
|
|
|
loggers:
|
|
synapse:
|
|
level: INFO
|
|
|
|
synapse.storage.SQL:
|
|
level: INFO
|
|
|
|
ldap3:
|
|
level: INFO
|
|
|
|
ldap_auth_provider:
|
|
level: INFO
|