summary refs log tree commit diff
path: root/docs/sample_log_config.yaml
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2020-10-19 17:42:51 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2020-10-19 17:42:51 +0100
commit04f61d91c43acf2b6438e5490cfdc4bfa7cec419 (patch)
tree0992c85ca08b9161dc77b0263cde3f0e7f60b728 /docs/sample_log_config.yaml
parentMerge commit 'a1e9bb9ea' into anoa/dinsic_release_1_21_x (diff)
parentAuto set logging filter (#8051) (diff)
downloadsynapse-04f61d91c43acf2b6438e5490cfdc4bfa7cec419.tar.xz
Merge commit '61d8ff0d4' into anoa/dinsic_release_1_21_x
* commit '61d8ff0d4':
  Update changelog.d/8051.misc
  Newsfile
  Move setting of Filter into code.
Diffstat (limited to 'docs/sample_log_config.yaml')
-rw-r--r--docs/sample_log_config.yaml7
1 files changed, 0 insertions, 7 deletions
diff --git a/docs/sample_log_config.yaml b/docs/sample_log_config.yaml

index 403ac005ee..55a48a9ed6 100644 --- a/docs/sample_log_config.yaml +++ b/docs/sample_log_config.yaml
@@ -11,11 +11,6 @@ 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.TimedRotatingFileHandler @@ -30,7 +25,6 @@ handlers: # logs will still be flushed immediately. buffer: class: logging.handlers.MemoryHandler - filters: [context] target: file # The capacity is the number of log lines that are buffered before # being written to disk. Increasing this will lead to better @@ -44,7 +38,6 @@ handlers: console: class: logging.StreamHandler formatter: precise - filters: [context] loggers: synapse.storage.SQL: