Open cweiske opened 5 years ago
I'm really looking for this too.
When your logs goes to a centralized log tool like stackdriver, and you pay for the amount of logs, you definelly wants to disable the 'Processing/Processed' logs consuming resources.
Goal
I want to see only errors in my (horizon) queue output, not standard messages like "processing $job" and "processed $job".
Description
Whenever a queued job is started and finished, laravel outputs log messages for them:
It is not possible to show error messages while hiding the processing + processed messages, because the method
WorkCommand::writeStatus()
that writes the log messages does not send any severity information.The currently only way to stop the processing/processed messages to appear is using
./artisan horizon --quiet
, which also hides the failed error messages.WorkCommand::writeStatus()
should mark "Processing" and "Processed" messages as "verbose" and pass that as 2nd parameter to$output->writeln()
.See: https://github.com/laravel/framework/issues/27483, https://github.com/laravel/framework/issues/27485