summary refs log tree commit diff
path: root/docker/complement/conf/log_config.yaml
blob: c33fd6cd00a767f7cd0ceb39e795008498fc7e82 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
version: 1

formatters:
  precise:
   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: precise
    filters: [context]
    # log to stdout, for easier use with 'docker logs'
    stream: 'ext://sys.stdout'

root:
    level: INFO
    handlers: [console]

disable_existing_loggers: false