Chris 2pha Brown. Drupal developer Brisbane Australia

Chris Brown

Drupal, Javascript, Three.js, 3D

website blog
image for Drupal Module - Watchdog Event Extras

Drupal Module - Watchdog Event Extras

When checking the logs on the Drupal sites I run I often find myself copying the IP and searching it on google. Most of the time it is when I'm looking at a page not found or login attempt failure and I would like to know if these came from some sort of spam or a legitimate user. This process became a little tedious, so I created the Watchdog Event Extras module.

Basically what the module does is overrides the standard drupal log event page, outputting the same and adding a drupal_alter() call. At the moment the module includes two sub modules, the first of which adds geolocation data derived from the hostname and the web service with the second adding data from the web service.

Any other module can also add data to the report page by implementing MYMODULE_watchdog_event_extras_alter(&$rows, $dblog)

Cheick it out

Also, don't forget to checkout the Link Favicon Formatter module if you ever needed to add a site favicon to a link field:

Watchdog event extras module

Add a comment

<b>, <i> and <code> tags are allowed.