aports/testing/mautrix-discord/default-log-dir.patch
2023-12-25 22:58:03 +00:00

17 lines
527 B
Diff

Upstream: No, Alpine specific
Reason: We don't want to log into $PWD/logs by default but
into /var/log/mautrix-discord.
diff --git a/example-config.yaml b/example-config.yaml
index a636e58..9674a1c 100644
--- a/example-config.yaml
+++ b/example-config.yaml
@@ -357,7 +357,7 @@ logging:
format: pretty-colored
- type: file
format: json
- filename: ./logs/mautrix-discord.log
+ filename: /var/log/mautrix-discord/mautrix-discord.log
max_size: 100
max_backups: 10
compress: true