Module Description
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/logs by 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.)
Features
* The log message format is configurable (using the Token system).
* The files are written to site/default/files/logs by 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.)
Module Link
Project Usage
1346
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
This module aims to solve the problem of logging events to a file in Drupal, with configurable log message formats, file locations, verbosity levels, and automatic log file rotation options.
Data Name
filelog