I have a log level defined in my config/app.php
to emergency
.
'log' => 'syslog',
'log_level' => env('LOG_LEVEL','warning'),
Throughout my applications i have Log::info('info')
in several places. Meaning that info should be ignore because the log level set to emergency. This works great when i actually run the application, the problem is When i run unit tests with phpunit
. The log level is ignored logs everything.
Anyone have an idea why this could happen?
Aucun commentaire:
Enregistrer un commentaire