jvmtech / neos-audit-trail
Audit trail for Neos CMS: logs node changes, user management events, and login attempts to dedicated log files via PSR-3.
Package info
github.com/jvm-tech/Neos.AuditTrail
Type:neos-plugin
pkg:composer/jvmtech/neos-audit-trail
README
Audit trail package for Neos CMS. Writes node changes, user management events, and login attempts to dedicated log files.
What gets logged
| Event | Log file |
|---|---|
| Node added, removed, property changed, published, discarded | Data/Logs/NodeChange.log |
| User created, activated, deactivated, deleted, roles added/removed | Data/Logs/UserChange.log |
| Login success / failure | Data/Logs/UserLogin.log |
Each log entry includes the acting user, a timestamp, and the IP address of the request.
Installation
composer require jvmtech/neos-audit-trail
Configuration
The package ships with sensible defaults. Log files are created automatically under %FLOW_PATH_DATA%Logs/.
To override the defaults (e.g. change log location or rotation size), add to your site package's Configuration/Settings.Logger.yaml:
Neos: Flow: log: psr3: 'Neos\Flow\Log\PsrLoggerFactory': nodeChangeLogger: default: options: logFileURL: '%FLOW_PATH_DATA%Logs/NodeChange.log' maximumLogFileSize: 10485760 # 10 MB logFilesToKeep: 5
Available logger identifiers: nodeChangeLogger, userChangeLogger, userLoginLogger.
Requirements
- Neos CMS 8.x or higher
- PHP 7.4 or higher