Make mautrix-signal bridge not log to files
We try to only use console logging (going to journald) for everything, instead of logging things twice (or more).
This commit is contained in:
parent
274f23f668
commit
3b524ee815
@ -189,12 +189,6 @@ logging:
|
|||||||
normal:
|
normal:
|
||||||
format: "[%(asctime)s] [%(levelname)s@%(name)s] %(message)s"
|
format: "[%(asctime)s] [%(levelname)s@%(name)s] %(message)s"
|
||||||
handlers:
|
handlers:
|
||||||
file:
|
|
||||||
class: logging.handlers.RotatingFileHandler
|
|
||||||
formatter: normal
|
|
||||||
filename: ./mautrix-signal.log
|
|
||||||
maxBytes: 10485760
|
|
||||||
backupCount: 10
|
|
||||||
console:
|
console:
|
||||||
class: logging.StreamHandler
|
class: logging.StreamHandler
|
||||||
formatter: colored
|
formatter: colored
|
||||||
@ -205,4 +199,4 @@ logging:
|
|||||||
level: INFO
|
level: INFO
|
||||||
root:
|
root:
|
||||||
level: {{ matrix_mautrix_signal_log_level }}
|
level: {{ matrix_mautrix_signal_log_level }}
|
||||||
handlers: [file, console]
|
handlers: [console]
|
||||||
|
Loading…
Reference in New Issue
Block a user