Przeglądaj źródła

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).
pull/686/head
Slavi Pantaleev 5 lat temu
rodzic
commit
3b524ee815
1 zmienionych plików z 1 dodań i 7 usunięć
  1. +1
    -7
      roles/matrix-bridge-mautrix-signal/templates/config.yaml.j2

+ 1
- 7
roles/matrix-bridge-mautrix-signal/templates/config.yaml.j2 Wyświetl plik

@@ -189,12 +189,6 @@ logging:
normal:
format: "[%(asctime)s] [%(levelname)s@%(name)s] %(message)s"
handlers:
file:
class: logging.handlers.RotatingFileHandler
formatter: normal
filename: ./mautrix-signal.log
maxBytes: 10485760
backupCount: 10
console:
class: logging.StreamHandler
formatter: colored
@@ -205,4 +199,4 @@ logging:
level: INFO
root:
level: {{ matrix_mautrix_signal_log_level }}
handlers: [file, console]
handlers: [console]

Ładowanie…
Anuluj
Zapisz