1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mautrix_whatsapp_ynh.git synced 2024-09-03 19:46:01 +02:00

Fix logging filename config value

This commit is contained in:
Dante 2023-06-20 18:40:30 +02:00
parent 7b27de65a8
commit e910a26598
2 changed files with 2 additions and 2 deletions

View file

@ -148,7 +148,7 @@ yq -i '.bridge.encryption.require = "__ENCRYPTION_REQUIRE__"' $configFilePath
yq -i 'with(.bridge.permissions ; . = { "__LISTRELAY__": "relay", "__LISTUSER__": "user", "__LISTADMIN__": "admin" } | ... style="double")' $configFilePath
yq -i '.bridge.relay.enabled = "__ENABLE_RELAYBOT__"' $configFilePath
yq -i '.bridge.relay.admin_only = "__ADMIN_ONLY__"' $configFilePath
yq -i '.logging.writers.filename = "/var/log/__APP__"' $configFilePath
yq -i '.logging.writers.filename = "/var/log/__APP__/__APP__.log"' $configFilePath
yq -i '.logging.min_level = "__PRINT_LEVEL__"' $configFilePath
#=================================================

View file

@ -451,7 +451,7 @@ logging:
format: pretty-colored
- type: file
format: json
filename: ./logs/mautrix-whatsapp.log
filename: /var/log/__APP__/__APP__.log
max_size: 100
max_backups: 10
compress: true