You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
I have a lot of log message in my prod.log file
[2021-09-17T12:48:31.459929+02:00] messenger.INFO: Message App\Message\SomeMessage handled by App\MessageHandler\SomeHandle::__in
....
Event if I have monolog config that prevents loging this level
monolog:
handlers:
main:
type: fingers_crossed
action_level: error
handler: nested
excluded_http_codes: [404, 405]
buffer_size: 50 # How many messages should be saved? Prevent memory leaks
nested:
type: stream
path: "%kernel.logs_dir%/%kernel.environment%.log"
level: debug
console:
type: console
process_psr_3_messages: false
channels: ["!event", "!doctrine"]
As I understand this configuration tells that fingers_crossed will be activated only on error level and go to neseted handler.
Why I have INFO messages in my prod.log file?
The text was updated successfully, but these errors were encountered:
You likely have an error log which triggered outputting all the other logs, including the info logs from before.
Actually SendFailedMessageForRetryListener logs with an ERROR level and in combination with the issue I've mentioned this is why the guy has multiple INFO logs that are not associated with the actual message that triggered an error.
Symfony version(s) affected: 5.2.6
Description
I have a lot of log message in my prod.log file
Event if I have monolog config that prevents loging this level
As I understand this configuration tells that fingers_crossed will be activated only on error level and go to neseted handler.
Why I have INFO messages in my prod.log file?
The text was updated successfully, but these errors were encountered: