Skip to content

Commit

Permalink
Improvement: Change the logging channel to storage/logs/laravel.log f…
Browse files Browse the repository at this point in the history
…ile in dev container
  • Loading branch information
AnouarTouati committed Dec 29, 2024
1 parent 8fc1227 commit e33c680
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .env.dev.docker
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ RESET_PASSWORD_LINK_EXPIRES=900
# --------------------------------------------
# OPTIONAL: MISC
# --------------------------------------------
LOG_CHANNEL=stderr
LOG_CHANNEL=single
LOG_MAX_DAYS=10
APP_LOCKED=false
APP_CIPHER=AES-256-CBC
Expand Down
1 change: 1 addition & 0 deletions docker/startup_alpine.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ php artisan migrate --force
php artisan config:clear
php artisan config:cache

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

export APACHE_LOG_DIR=/var/log/apache2
Expand Down

0 comments on commit e33c680

Please sign in to comment.