Add the hability to recover removed entity log operations

Created on 23 April 2025, 1 day ago

Problem/Motivation

On large sites using the log_entity_operations module, logs can accumulate quickly and reach the storage limit configured in the module settings. Once this limit is reached, older logs are removed from the database to prevent excessive growth.

Currently, there is no built-in mechanism to recover logs that have been deleted in this way, which can make troubleshooting, audits, or historical analysis more difficult.

Proposed resolution

Implement a system that allows administrators to:

  • Export (dump) logs that are about to be removed from the database to a file or series of files.
  • Import (restore) logs from these files back into the database when needed, making historical logs accessible again.

This solution could involve:

  • Configurable export paths and file formats (e.g., CSV, JSON).
  • Drush commands or UI buttons for both export and import actions.
  • Documentation and access control for secure handling of exported logs.
Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇪🇸Spain eduardo morales alberti Spain, 🇪🇺

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024