From e910a265980bf70e5d99e38890bae26956b784d6 Mon Sep 17 00:00:00 2001 From: Dante Date: Tue, 20 Jun 2023 18:40:30 +0200 Subject: [PATCH] Fix logging filename config value --- .github/workflows/updater.sh | 2 +- conf/config.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/updater.sh b/.github/workflows/updater.sh index 029c141..4e85e56 100755 --- a/.github/workflows/updater.sh +++ b/.github/workflows/updater.sh @@ -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 #================================================= diff --git a/conf/config.yaml b/conf/config.yaml index 7b755c1..6c5e29a 100644 --- a/conf/config.yaml +++ b/conf/config.yaml @@ -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