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.)
Supporting organizations:
Funded initial development in 2016-2017
Development and maintenance
Project information
- Project categories: Administration tools, Developer tools
1,473 sites report using this module
- Created by xmarket on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.

