Laravel 8 still can't disable logging in production, regardless of deleting config files
P粉573943755
2023-08-28 18:47:36
<p>I have searched everywhere and tried all the suggested methods, even deleted the logging.php file in the config folder, but laravel still creates the laravel.log file, which is very annoying to me.
I set </p> in my .env file
<pre class="brush:php;toolbar:false;">LOG_CHANNEL=null
LOG_LEVEL=null</pre>
<p>But still no success. How can I disable this logging completely? </p>
Try changing the following lines in .env
Then run the following command
Hope this helps!