This module adds a file-based logging option to Drupal's database logging system. It allows you to configure the log message format, file location, and severity level, and can automatically rotate log files.
This module complements the core Database Log module with a logger that writes events to a file.
Features
- The log message format is configurable (using the Token system).
- The files are written to
site/default/files/logsby default, but can be created in any location that PHP can access. - The verbosity of the file log is configurable, so that only events above a specific severity are recorded.
- Drupal can automatically rotate the log file on a daily, weekly or monthly basis, either deleting or archiving/compressing the old log file to a new location.
Legacy support
A Drupal 7 version of this module is not planned.
A similar module was previously implemented by xmarket for Drupal 6. This version is no longer maintained. (A D7 port of the D6 module was previously created, but is also not maintained. Patches are welcome.)
Ask your assistant about File Log
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
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.