This project is not covered by Drupal’s security advisory policy.
User Logs helps site administrators see who changed content or configuration and when. Each user profile has an Activity tab with a filterable history, a printable report, and a CSV download.
Features
- Record content and configuration changes, logins and logouts, and module installations and removals. For content edits, see which fields changed, the language, and the revision message when available.
- Filter activity by user, action, category, entity type, or date. Open an entry to see its details or follow the history of the same item.
- Generate a per-user report with activity totals, a breakdown by action, and a detailed list. Print the report, save it as a PDF from the browser, or download it as CSV.
- Give users access to their own activity. Separate permissions control who can view all activity, purge entries, and download archives.
- Set a retention period and optionally archive entries to a private CSV file before manual or scheduled deletion.
Post-installation
Enable User Logs, then visit /admin/config/system/user-logs to set retention and choose which activity to record. Assign permissions at /admin/people/permissions. The site-wide log is available at /admin/reports/user-logs.
Additional requirements
The module targets Drupal 11.1 and later in the Drupal 11 series. Archiving before deletion is enabled by default and requires a private file directory configured through $settings['file_private_path']. While archiving is enabled, entries are kept if the archive cannot be written.
Optional integration
Enable Drupal core's Views module to build custom activity listings using the User activity base table.
Project information
Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed.- Project categories: Administration tools
- Created by davidgserinza on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
Releases
First alpha release with user activity reports and CSV export for Drupal 10, 11, and 12.
