whatsapp bridge: disable logging to external files

The same logs still go to the systemd journal.
This commit is contained in:
3hhh 2022-06-11 07:55:44 +02:00
parent 99c24ef0e8
commit 39914881a7
No known key found for this signature in database
GPG Key ID: EB03A691DB2F0833

View File

@ -211,7 +211,8 @@ logging:
# The directory for log files. Will be created if not found. # The directory for log files. Will be created if not found.
directory: ./logs directory: ./logs
# Available variables: .Date for the file date and .Index for different log files on the same day. # 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 # Date format for file names in the Go time format: https://golang.org/pkg/time/#pkg-constants
file_date_format: "2006-01-02" file_date_format: "2006-01-02"
# Log file permissions. # Log file permissions.