Kaynağa Gözat
Merge pull request #2799 from ThellraAK/gmessages-logging2
Gmessage bridge: Remove file logging, and add existing log level variable to config
pull/2791/head^2
Slavi Pantaleev
2 yıl önce
committed by
GitHub
ebeveyn
işleme
122cda6f10
Veri tabanında bu imza için bilinen anahtar bulunamadı
GPG Anahtar Kimliği: 4AEE18F83AFDEB23
1 değiştirilmiş dosya ile
3 ekleme ve
9 silme
-
roles/custom/matrix-bridge-mautrix-gmessages/templates/config.yaml.j2
|
|
@@ -286,13 +286,7 @@ bridge: |
|
|
|
|
|
|
|
|
# Logging config. See https://github.com/tulir/zeroconfig for details. |
|
|
# Logging config. See https://github.com/tulir/zeroconfig for details. |
|
|
logging: |
|
|
logging: |
|
|
min_level: debug |
|
|
|
|
|
|
|
|
min_level: {{ matrix_mautrix_gmessages_logging_level }} |
|
|
writers: |
|
|
writers: |
|
|
- type: stdout |
|
|
|
|
|
format: pretty-colored |
|
|
|
|
|
- type: file |
|
|
|
|
|
format: json |
|
|
|
|
|
filename: ./logs/mautrix-gmessages.log |
|
|
|
|
|
max_size: 100 |
|
|
|
|
|
max_backups: 10 |
|
|
|
|
|
compress: true |
|
|
|
|
|
|
|
|
- type: stdout |
|
|
|
|
|
format: pretty-colored |