summary refs log tree commit diff
path: root/debian/log.yaml
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2020-01-03 17:14:00 +0000
committerGitHub <noreply@github.com>2020-01-03 17:14:00 +0000
commit08815566bca79d001ad1bf58b2b082e435b6e5df (patch)
treec60e93d4dddc4431c5cd4e2bf4d6ff9d5a9ef5dc /debian/log.yaml
parentRaise an error if someone tries to use the log_file config option (#6626) (diff)
downloadsynapse-08815566bca79d001ad1bf58b2b082e435b6e5df.tar.xz
Automate generation of the sample and debian log configs (#6627)
Diffstat (limited to 'debian/log.yaml')
-rw-r--r--debian/log.yaml36
1 files changed, 0 insertions, 36 deletions
diff --git a/debian/log.yaml b/debian/log.yaml
deleted file mode 100644
index 95b655dd35..0000000000
--- a/debian/log.yaml
+++ /dev/null
@@ -1,36 +0,0 @@
-
-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:
-  file:
-    class: logging.handlers.RotatingFileHandler
-    formatter: precise
-    filename: /var/log/matrix-synapse/homeserver.log
-    maxBytes: 104857600
-    backupCount: 10
-    filters: [context]
-    encoding: utf8
-  console:
-    class: logging.StreamHandler
-    formatter: precise
-    level: WARN
-
-loggers:
-    synapse:
-        level: INFO
-
-    synapse.storage.SQL:
-        level: INFO
-
-root:
-    level: INFO
-    handlers: [file, console]