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

This commit is contained in:
James Cole 2020-01-24 20:40:23 +01:00
parent 3f7891f4e8
commit 3adc43938e
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -56,7 +56,7 @@ return [
'channels' => [
'stack' => [
'driver' => 'stack',
'channels' => ['daily', 'slack'],
'channels' => ['daily', 'stdout'],
],
'single' => [