瀏覽代碼

Remove file logging, and add existing log level variable to config

pull/2799/head
ThellraAK 3 年之前
父節點
當前提交
6666d23079
共有 1 個檔案被更改,包括 3 行新增9 行删除
  1. +3
    -9
      roles/custom/matrix-bridge-mautrix-gmessages/templates/config.yaml.j2

+ 3
- 9
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:
min_level: debug
min_level: {{ matrix_mautrix_gmessages_logging_level }}
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

Loading…
取消
儲存