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

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 лет назад
committed by GitHub
Родитель
Сommit
122cda6f10
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: 4AEE18F83AFDEB23
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

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