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

whatsapp bridge: disable logging to external files

The same logs still go to the systemd journal.
pull/1875/head
3hhh 3 лет назад
Родитель
Сommit
39914881a7
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: EB03A691DB2F0833
1 измененных файлов: 2 добавлений и 1 удалений
  1. +2
    -1
      roles/matrix-bridge-mautrix-whatsapp/templates/config.yaml.j2

+ 2
- 1
roles/matrix-bridge-mautrix-whatsapp/templates/config.yaml.j2 Просмотреть файл

@@ -211,7 +211,8 @@ logging:
# The directory for log files. Will be created if not found.
directory: ./logs
# Available variables: .Date for the file date and .Index for different log files on the same day.
file_name_format: "{{ '{{.Date}}-{{.Index}}.log' }}"
# empy/null = journal logging only
file_name_format:
# Date format for file names in the Go time format: https://golang.org/pkg/time/#pkg-constants
file_date_format: "2006-01-02"
# Log file permissions.


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