-
-
Save DataBeaver/443bccea5e10fb99792b2c05e27c9081 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: 1 | |
formatters: | |
precise: | |
format: '%(asctime)s - %(name)s - %(lineno)d - %(levelname)s - %(request)s - %(message)s' | |
journal_fmt: | |
format: '%(name)s: [%(request)s] %(message)s' | |
filters: | |
context: | |
(): synapse.logging.context.LoggingContextFilter | |
request: "" | |
handlers: | |
file: | |
class: logging.handlers.WatchedFileHandler | |
formatter: precise | |
filename: /var/log/matrix-synapse/homeserver.log | |
filters: [context] | |
level: DEBUG | |
encoding: utf8 | |
console: | |
class: logging.StreamHandler | |
formatter: precise | |
filters: [context] | |
level: INFO | |
#journal: | |
# class: systemd.journal.JournalHandler | |
# formatter: journal_fmt | |
# filters: [context] | |
# SYSLOG_IDENTIFIER: synapse | |
loggers: | |
twisted: | |
level: WARN | |
synapse: | |
level: INFO | |
# the following levels are more verbose than most users want | |
# set them to INFO if you need more logging | |
synapse.metrics: | |
level: WARN | |
synapse.http.federation.well_known_resolver: | |
level: WARN | |
synapse.storage.TIME: | |
level: WARN | |
synapse.http.matrixfederationclient: | |
level: WARN | |
root: | |
level: INFO | |
handlers: [console, file] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment