Config out.

This commit is contained in:
James Cole
2019-11-02 07:21:40 +01:00
parent 4f44a42655
commit 2ea1852a94
2 changed files with 10 additions and 2 deletions

View File

@@ -26,10 +26,12 @@ APP_URL=http://localhost
TRUSTED_PROXIES= TRUSTED_PROXIES=
# The log channel defines where your log entries go to. # The log channel defines where your log entries go to.
# 'daily' is the default logging mode giving you 5 daily rotated log files in /storage/logs/. # - If you use DOCKER, use 'docker_out'
# - For everything else, use 'daily'
# Several other options exist. You can use 'single' for one big fat error log (not recommended). # 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. # Also available are 'syslog', 'errorlog' and 'stdout' which will log to the system itself.
LOG_CHANNEL=daily LOG_CHANNEL=docker_out
# Log level. You can set this from least severe to most severe: # Log level. You can set this from least severe to most severe:
# debug, info, notice, warning, error, critical, alert, emergency # debug, info, notice, warning, error, critical, alert, emergency
@@ -180,6 +182,7 @@ DEMO_USERNAME=
DEMO_PASSWORD= DEMO_PASSWORD=
USE_ENCRYPTION=false USE_ENCRYPTION=false
IS_SANDSTORM=false IS_SANDSTORM=false
IS_DOCKER=false
IS_HEROKU=false IS_HEROKU=false
BUNQ_USE_SANDBOX=false BUNQ_USE_SANDBOX=false
FFIII_LAYOUT=v1 FFIII_LAYOUT=v1

View File

@@ -69,6 +69,11 @@ return [
'path' => 'php://stdout', 'path' => 'php://stdout',
'level' => envNonEmpty('APP_LOG_LEVEL', 'info'), 'level' => envNonEmpty('APP_LOG_LEVEL', 'info'),
], ],
'docker_out' => [
'driver' => 'single',
'path' => 'php://stdout',
'level' => envNonEmpty('APP_LOG_LEVEL', 'info'),
],
'daily' => [ 'daily' => [
'driver' => 'daily', 'driver' => 'daily',
'path' => storage_path('logs/ff3-' . PHP_SAPI . '.log'), 'path' => storage_path('logs/ff3-' . PHP_SAPI . '.log'),