'custom_log' => [ 'driver' => 'single', 'path' => storage_path('logs/' . date('Y-m-d') . '.log'), // Format the filename as YYYY-MM-DD.log 'level' => env('LOG_LEVEL', 'debug'), 'permission' => 0777, // You can set the file permissions if needed 'days' => 7, 'max_files' => 7, 'max_size' => 10485760, ], i use this for custom log creation. it is working fine.
clear your all logs and use php artisan optimize:clear then you check