Просмотр исходного кода

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

pull/2799/head
ThellraAK 2 лет назад
Родитель
Сommit
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

Загрузка…
Отмена
Сохранить