Improvement: Change the logging channel to storage/logs/laravel.log file in dev container

This commit is contained in:
Anouar Touati 2024-12-29 02:29:41 -05:00
parent 8fc1227974
commit e33c680679
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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