Open rfc1036 opened 3 weeks ago
I am still seeing this error after switching to PHP 8.0.
Hi Marco.
Looks like you've configured the daily
log but the error has:
[2024-08-22 16:50:01] laravel.EMERGENCY: Unable to create configured logger. Using emergency logger.
Can you confirm your config/logger.php
contains the following for daily:
'daily' => [
'driver' => 'daily',
'path' => storage_path('logs/laravel.log'),
'level' => env( 'LOG_LEVEL', env( 'APP_LOG_LEVEL', 'debug' ) ),
'days' => 14,
],
And also that storage/logs
is writable to the web server?
It does. The file is unmodified, HEAD is 81f57c289632617d184eaf70b761b19438e91d65 (release-v6).
Logs are still being written, this is where the errors I reported come from:
-rw-r--r-- 1 www-data www-data 628456 Aug 27 12:55 laravel-2024-08-27.log
-rw-rw-r-- 1 www-data www-data 9362818 Aug 27 12:56 laravel.log
ISSUE TYPE
Bug Report
OS
Ubuntu 24.04 LTS
VERSION
ENVIRONMENT
CONFIGURATION
SUMMARY
The log is flooded by messages like these.
RELEVANT LOGS