aports/testing/mautrix-gmessages/default-log-dir.patch
2024-01-18 01:57:55 +00:00

18 lines
535 B
Diff

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