mirror of
https://github.com/element-hq/synapse
synced 2024-08-19 23:10:20 +00:00
Fixes matrix-org/complement#330 (or it will, once we remove the old files). It's not quite a lift-and-shift: I've also taken the opportunity to get rid of the custom CA that we used to use to sign the TLS certs, which has been superceded by the CA exposed by Complement.
24 lines
485 B
YAML
24 lines
485 B
YAML
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
|