Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/os2web/os2web_logging
Drupal 8 module for logging node access
https://github.com/os2web/os2web_logging
Last synced: about 1 month ago
JSON representation
Drupal 8 module for logging node access
- Host: GitHub
- URL: https://github.com/os2web/os2web_logging
- Owner: OS2web
- Created: 2020-08-12T12:15:08.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-06-07T11:52:03.000Z (7 months ago)
- Last Synced: 2024-08-10T06:10:34.133Z (5 months ago)
- Language: PHP
- Size: 71.3 KB
- Stars: 0
- Watchers: 9
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OS2Web Logging Drupal module [![Build Status](https://travis-ci.org/OS2web/os2web_logging.svg?branch=master)](https://travis-ci.org/OS2web/os2web_logging)
## Module purpose
The aim of this module is to provide logging of node access and NemID webform fields.
## How does it work
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.
## Additional settings
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.## Install
Module is available to download via composer.
```
composer require os2web/os2web_logging
drush en os2web_logging
```## Update
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
```## Automated testing and code quality
See [OS2Web testing and CI information](https://github.com/OS2Web/docs#testing-and-ci)## Contribution
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.### Code review policy
See [OS2Web code review policy](https://github.com/OS2Web/docs#code-review)### Git name convention
See [OS2Web git name convention](https://github.com/OS2Web/docs#git-guideline)