Skip to content

Firefly III: a personal finances manager

Make 'stack' log to 'stdout' AND 'daily' to satisfy both Docker and self-hosted users.

James Cole3adc43938efa
diff --git a/.env.example b/.env.example
index 8585f0fc22..336af709e8 100644
--- a/.env.example
+++ b/.env.example
@@ -32,7 +32,9 @@ TRUSTED_PROXIES=
# Several other options exist. You can use 'single' for one big fat error log (not recommended).
# Also available are 'syslog', 'errorlog' and 'stdout' which will log to the system itself.
-LOG_CHANNEL=stdout
+# A rotating log option is 'daily', creates 5 files that (surprise) rotate.
+# Default setting 'stack' will log to 'daily' and to 'stdout' at the same time.
+LOG_CHANNEL=stack
# Log level. You can set this from least severe to most severe:
# debug, info, notice, warning, error, critical, alert, emergency
diff --git a/config/logging.php b/config/logging.php
index e2bb74cdb1..0e089acbe3 100644
--- a/config/logging.php
+++ b/config/logging.php
@@ -56,7 +56,7 @@ return [
'channels' => [
'stack' => [
'driver' => 'stack',
- 'channels' => ['daily', 'slack'],
+ 'channels' => ['daily', 'stdout'],
],
'single' => [