The GovNL Logging module adds monolog processors and a formatter along with a Sentry EventSubscriber in order to add more context to logs exported to json (eg. stdout). The purpose is to add a request ID and other metadata to the logging to improve correlation between logs.

The Request ID is extracted from the request's X-Request-Id header. When the header is not available an ID is generated.

Supporting organizations: 

Project information

Releases