Provides endpoint that indicate about errors in the log files.
In the form /admin/config/development/logs-monitoring-settings should be set:
- paths to logs
- a count of rows in the end where a search will be performed
- a list of the words that indicate errors.
The module provide REST endpoint /admin/reports/logs-monitoring where a list of logs with their statuses will be provided. It can be used by Uptimerobot to detect errors. Returns HTTP status codes:
- 200 - no errors found
- 500 - some errors found