The aim of this module is to provide logging of node access and NemID webform fields.
When node or NemID webform field is access this is logged by the module.
Logs are stored in two places: database + files.
After logs are enabled and configured, they are shown here: /admin/reports/os2web-logging-access-logs
File logs are saved in directory: ../logs/
It is required that this directory exists and is writable.
Settings are available under /admin/config/system/os2logging/settings
- Node types access to keep log of - Select node type to keep logs of.
- Webform fields access to keep log of - Select webform fields type to keep logs of.
- Log anonymous user actions - If anonymous user actions are being logged
- Store database logs for this period - Database logs will be stored for the selected number of days, after that they will be automatically deleted (cleanup is done daily).
- Store log files for this period - Log file will be stored for the selected number of days, after that they will be automatically deleted
- Store log files directory - Logs will be saved in this path.
- Import logs from uploaded file - Allows import logs into database.
Settings are available under /admin/config/system/os2logging/watchdog-settings
- DB Log enabled - If watchdog messages shall be added to the dblog.
- Store log files for this period - Log file will be stored for the selected number of days, after that they will be automatically deleted
- Store log files directory - Logs will be saved in this path.
Module is available to download via composer.
composer require os2web/os2web_logging
drush en os2web_logging
Updating process for OS2Web Logging is similar to usual Drupal 8 module. Use Composer's built-in command for listing packages that have updates available:
composer outdated os2web/os2web_logging
See OS2Web testing and CI information
Project is opened for new features and os course bugfixes. If you have any suggestion or you found a bug in project, you are very welcome to create an issue in github repository issue tracker. For issue description there is expected that you will provide clear and sufficient information about your feature request or bug report.