spatie / ray

Debug with Ray to fix problems faster
https://myray.app
MIT License
554 stars 102 forks source link

Ray displays logs no matter what LOG_LEVEL is set #913

Open giovanniledda opened 1 month ago

giovanniledda commented 1 month ago

Ray keeps tracking and displaying every Log event even if my LOG_LEVEL is high.

For example:

I've this log event:

Log::info('[TEMPLATE INIT, end]');

In my .env I've:

LOG_LEVEL=error

..the log file (storage/logs/laravel.log) is obviously empty, but Ray app is still displaying the log event!

Versions Ray: 2.7.5 Laravel: 11 PHP: 8.2 spatie/laravel-ray: 1.36.1