This project is not covered by Drupal’s security advisory policy.

The Monolog Extras Module adds extra processors (and others) to use in your Drupal monolog logs (depends on Monolog Drupal Module https://www.drupal.org/project/monolog)

It currently contains:

Processors:

CurrentRouteProcessor - Adds current routename path and URI to logs

Headers Processor - Adds http headers to log messages.
Current User Operations - Adds user profile link to log messages

Handlers:

DrupalFileHandler - Logs all messages to a private file.

DrupalUserFile - creates a separate log file depending on the current user and puts them in a the private files.

DrupalExtrasHandler - Alternative Logger for monolog to handle and preprocess logs before sending them to the registered Drupal loggers (dblog for example).It adds the extra record information provided by the monolog processors and makes those available in the message string, so they will show up in the drupal loggers.

Dependencies (required)
Monolog Drupal Module https://www.drupal.org/project/monolog

Optional but recommended -
Monolog Drupal Module Patch:

Different Processors per Channel
NOTE: If you want to use different processors per channel you'll see need this patch to the Drupal monolog module - https://www.drupal.org/project/monolog/issues/3087818

monolog.channel_handlers:
my_channel:
handlers: ['what_failure']
formatter: 'logstash'
processors: ['current_user', 'some_channel_specific_processor', 'ip', 'referer']``
Supporting organizations: 
Sponsored and provided the development.

Project information

Releases