This project is not covered by Drupal’s security advisory policy.
The Recent Log Keeper module provides an efficient way to log messages generated by the Drupal site, offering an alternative to storing logs in the database. Instead of saving log messages in the default `watchdog` table, this module writes them to a file system. This solution is ideal for reducing database load while maintaining a reliable log for debugging and monitoring purposes.
Features
The Recent Log Keeper module replaces the default behavior of storing log messages in the database with a file-based logging system. Unique features include:
- Logs are written to a daily log file located in a customizable directory.
- Reduced database load, especially in high-traffic environments.
- Configurable to log messages of various severity levels.
This module is useful for sites where database performance is critical or where external log monitoring systems are in place. Typical use cases include performance-sensitive environments or sites that require external log aggregation for auditing or monitoring.
Post-Installation
After installing the module:
1. By default, logs are written to the `/sites/default/files/watchdog/` directory.
2. Ensure that the appropriate file system permissions are set so that Drupal can write logs to the chosen directory.
There is no need to configure additional content types or text formats; the module works automatically once installed and configured.
Additional Requirements
This module requires File System permissions for the log directory. Make sure the `/sites/default/files/watchdog/` directory or any custom directory has appropriate read/write permissions.
Recommended modules/libraries
Are there any projects that enhance or improve the functionality of this project?
You can support the development of this module by reporting issues, contributing patches, or sharing the module with others in the Drupal community.
Project information
- Project categories: Administration tools, Performance, Security
- Created by shubham rathore on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
