Hi everyone, I can't seem to change the log level from debug.
I've included some calls to Log::debug in my code, to be able to trace activity when setting log level to debug. After changing APP_DEBUG to false in my .env file, the calls to Log::debug continue to write to the log file, but they shouldn't, unless I didn't understand correctly how to use logging levels in Laravel.
I'm using the default daily log and can't find configuration key con change de debug level.
I'm not familiarized with the framework's code base, but this loc makes me think that there's no way to set log level to anything different than debug, because no third parameter is passed to useDailyFiles() to set the log level. But I'm probably, and hopefully, wrong.
Any help will be much appreciated, thanks in advanced,
Miguel.
Hi everyone,
Should I ask about this kind of stuff elsewhere?
Should I report this directly as a bug/issue in github?
Thanks,
Miguel.
I also cannot seem to find an option to configure the log-level. This really is a very common thing, and I hope that this will be implemented in the near future.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community