Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Calculating a hash identifying the message #34

Open
stof opened this Issue · 3 comments

2 participants

@stof

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.

@Seldaek
Owner

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.

@stof

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.

@Seldaek
Owner

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.