1
0

Merge commit '61d8ff0d4' into anoa/dinsic_release_1_21_x

* commit '61d8ff0d4':
  Update changelog.d/8051.misc
  Newsfile
  Move setting of Filter into code.
This commit is contained in:
Andrew Morgan
2020-10-19 17:42:51 +01:00
4 changed files with 17 additions and 21 deletions

View File

@@ -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: