From 8a612655157210b6a3a9e69c0f5e4bf1d27d8ac5 Mon Sep 17 00:00:00 2001 From: Tr0n Date: Mon, 30 Dec 2024 17:38:38 +0100 Subject: [PATCH 1/2] debug log to stderr for web --- .env.example | 2 ++ docker-compose.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.env.example b/.env.example index 4b54192..bd9f629 100644 --- a/.env.example +++ b/.env.example @@ -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 +WEB_LOG_CHANNEL=stderr # E-mail configuration WEB_MAIL_MAILER=smtp diff --git a/docker-compose.yml b/docker-compose.yml index f6cd5fe..d22d880 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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} -- 2.45.2 From ad8995fe62ec854a015d43bc80a1e6c9c79b03da Mon Sep 17 00:00:00 2001 From: Tr0n Date: Sun, 12 Jan 2025 20:31:02 +0100 Subject: [PATCH 2/2] disable web_app_debug --- .env.example | 1 - 1 file changed, 1 deletion(-) diff --git a/.env.example b/.env.example index bd9f629..6757edb 100644 --- a/.env.example +++ b/.env.example @@ -27,7 +27,6 @@ WEB_APP_ENV=production WEB_APP_URL=http://metin2.local WEB_APP_KEY= WEB_EXTERNAL_PORT=80 -WEB_APP_DEBUG=true WEB_LOG_CHANNEL=stderr # E-mail configuration -- 2.45.2