Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Calculating a hash identifying the message #34

stof opened this Issue · 3 comments

2 participants


Monolog should be able to calculate a hash identifying a message. This would allows storing them in a storage when an error occur and flushing them in an handler only once instea dof having one message per request.


This should use the IntrospectionProcessor code and crc32 the output. The message and others can't be taken into consideration because they could be input or date-sensitive.


There is issue with this. Think for instance to the Symfony2 ExceptionListener. All exceptions are logged at the same line, so this will not be enough to determine if this is the same mesage.


Well, we could have another hash computation for Symfony2 that ignores the exception listener or something. But yeah I agree this could be problematic. It can wait until 1.1 anyway.

@Seldaek Seldaek added the Feature label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.