debug log to stderr for web #1

Open
Tr0n wants to merge 2 commits from Tr0n/deploy:chore/web-logging into master
2 changed files with 4 additions and 0 deletions
Showing only changes of commit 8a61265515 - Show all commits

View File

@ -27,6 +27,8 @@ WEB_APP_ENV=production
WEB_APP_URL=http://metin2.local
WEB_APP_KEY=
WEB_EXTERNAL_PORT=80
WEB_APP_DEBUG=true
Tr0n marked this conversation as resolved
Review

I think that this should default to false, as setting it to true will display stack traces to users on the public website

I think that this should default to false, as setting it to true will display stack traces to users on the public website
WEB_LOG_CHANNEL=stderr
# E-mail configuration
WEB_MAIL_MAILER=smtp

View File

@ -51,6 +51,8 @@ services:
APP_ENV: ${WEB_APP_ENV}
APP_KEY: ${WEB_APP_KEY}
APP_URL: ${WEB_APP_URL}
APP_DEBUG: ${WEB_APP_DEBUG}
LOG_CHANNEL: ${WEB_LOG_CHANNEL}
# Database credentials
DB_HOST: ${MYSQL_HOST}