exception: Support message normalisation for structured logging
authorTimo Tijhof <krinklemail@gmail.com>
Wed, 30 Aug 2017 21:38:57 +0000 (22:38 +0100)
committerTimo Tijhof <krinklemail@gmail.com>
Wed, 30 Aug 2017 21:38:57 +0000 (22:38 +0100)
commitc2b3638a975c6b159a78c5e1f00481b01014fd66
tree72e97adbc18c07d72678ff1e39c9c27826979657
parent61696a0bd24be2b551bd47279a044d8d986bb03d
exception: Support message normalisation for structured logging

Let Monolog insert exception_id and exception_url so that consumers
of logging data (such as Logstash) may provide a normalised message
that does not contain these variants, for ease of aggregation
and message trend counting.

Bug: T45086
Change-Id: I7cc8f8c9e68031ad6771593d390079c0a3a535b9
includes/exception/MWExceptionHandler.php