浏览代码

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

正在加载...
取消
保存