Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Views Bootstrap 5.5.4 — Minor update available for module views_bootstrap (5.5.4). Release: Download Tracker 1.0.7 — Minor update available for module download_tracker (1.0.7). Release: Directory2Block Slideshow 1.0.8 — Minor update available for module directory2block_slideshow (1.0.8). Release: Mautic Audiences 1.1.5 — Minor update available for module mautic_audiences (1.1.5). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Release: CommentOn 1.0.6 — Minor update available for module commenton (1.0.6). Release: ChatGPT Ads 1.0.3 — Minor update available for module chatgpt_ads (1.0.3). Release: Opensolr Search 5.1.3 — Minor update available for module opensolr_search (5.1.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

A module that is used for tracking all the possible drupal system events with a variety of features around it.

Features

Can set a system message including tokens for any type of CRUD entity actions or form submissions. Now, all your form submission data can be logged and tracked for a purpose.

Once an entity performs any updates into the fields we can now track it via a diff visualization into the logs listing which will keep us a transparent view of who, when, and what exactly fields were changed.

Can configure which specter of modules we want to track the events, and also filter them into logs listing. Also, set the specific forms we want to track the submissions, or just track all we do have on the site (including custom forms).

Can specify how many logs the system may keep and the rest of the logs will be erased by a corn job.

Can export and perform the full CRUD actions to the logs.

Logs the IP address and User agent for the tracked event.
NOTE: Be careful with this feature and make sure to inform users about this in cookie complaints and/or GDPR policy.

Dependencies

It has an internal drupal service for this purpose. Here are examples:

$elog_service = \Drupal::service('elogger.logger');

// Log an entity event log like the creation, update, and delete of a Drupal entity.
// $entity: a Drupal "EntityInterface" instance like node, term, user, menu_link, etc.
$elog_service->setEntity($entity);
$elog_service->logEvent('entity_create');

/**
 * Implements hook_form_alter().
 */
function elogger_form_alter(&$form, FormStateInterface $form_state, $form_id) {
  // Log a form submit event. It will also log the submitted form data.
  $elog_service->setForm($form, $form_state);
  $elog_service->logEvent('actions');
}

Configuration pages

  • Logs listing: admin/reports/elogger
  • Elogger: Filter Configurations: admin/config/system/elogger
  • Elogger: Log Messages Configurations: admin/config/system/elogger/log-messages
  • Elogger: Filter Configurations: admin/config/system/elogger

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
6
Tracked since
Feb 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core Release date
1.1.13 Stable Apr 16, 2024
1.1.12 Stable Nov 17, 2023
1.1.11 Stable Nov 15, 2023
1.1.10 Stable Aug 29, 2023
1.1.9 Stable Mar 30, 2023
1.1.8 Stable Feb 9, 2023