Reduce verbosity of logs

Created on 16 April 2024, 7 months ago
Updated 4 September 2024, 3 months ago

Problem/Motivation

The Purge Users module in Drupal currently generates verbose logs for each action taken during user purging, resulting in an overwhelming number of log entries, especially in scenarios with a large number of users (e.g., 10,000+ users). This verbosity makes it challenging for administrators to locate relevant logs amidst the flood of messages generated by the module.

Steps to reproduce

1. Install and enable the Purge Users module.
2. Configure the module to remove inactive users after a certain time period.
3. Monitor the log entries generated by the module, especially in environments with a large user base.

Proposed resolution

The proposed resolution is to introduce an option within the Purge Users module settings that allows administrators to control the verbosity of the generated logs. Specifically, an option should be provided to reduce the amount log entries, such as by aggregating them or providing a summary report instead of logging each individual action, or even turn them off.

User interface changes

The user interface of the Purge Users module will be updated to include a new setting related to log verbosity. This setting will allow administrators to adjust the level of detail in the generated logs.

API changes

No API changes are expected as part of this enhancement.

Data model changes

No data model changes are expected as part of this enhancement.

✨ Feature request
Status

Active

Version

4.0

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands voide Kampen, The Netherlands

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