mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Improvement: Change the logging channel to storage/logs/laravel.log file in dev container
This commit is contained in:
parent
8fc1227974
commit
e33c680679
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue