Closed davedevelopment closed 11 years ago
I agree - I always wondered why all those exceptions were in the log for things that are not wrong - iirc this also happens for requests that are authenticated via remember-me. :+1: to change this (I am open to other solutions as I am not too familiar with the priorities ...)
I agree
Currently the monolog service provider adds an error handler to log exceptions at a priority of 255, which means it comes in before the security providers exception handlers, so
AccessDeniedExceptions
get logged as critical events by monolog, when really they're kind of expected and handled by the security provider.Example:
EDIT: Sample output
I don't think this is ideal behaviour out of the box, what are other peoples thoughts?