mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-22 14:34:58 -05:00
25 lines
485 B
YAML
25 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
|