Skip to content

Commit e33c680

Browse files
committed
Improvement: Change the logging channel to storage/logs/laravel.log file in dev container
1 parent 8fc1227 commit e33c680

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.env.dev.docker

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ RESET_PASSWORD_LINK_EXPIRES=900
158158
# --------------------------------------------
159159
# OPTIONAL: MISC
160160
# --------------------------------------------
161-
LOG_CHANNEL=stderr
161+
LOG_CHANNEL=single
162162
LOG_MAX_DAYS=10
163163
APP_LOCKED=false
164164
APP_CIPHER=AES-256-CBC

docker/startup_alpine.sh

+1
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ php artisan migrate --force
103103
php artisan config:clear
104104
php artisan config:cache
105105

106+
touch /var/www/html/storage/logs/laravel.log
106107
chown -R apache:root /var/www/html/storage/logs/laravel.log
107108

108109
export APACHE_LOG_DIR=/var/log/apache2

0 commit comments

Comments
 (0)