TRAX LRS monitoring features relie on an internal logging system which is disabled by default.
In order to use the monitoring features, you must first enable enabled the logging system in the .env file.
XAPI_LOGGING_ENABLED=true
When enabled, the system logs all the requests on the standard APIs, except the about API.
Requests on the extended API are not logged.
You can explore the internal logs from the Monitoring > Logs page.
Several filters are available and documented in the software interface.
Requests leading to an error are marked in red and can be explored in detail:
You can clear the internal logs from the Settings > Delete Data page.
php artisan logs:clear
| Option | Example of value | Description |
|---|---|---|
| --owner | 1 | Internal ID of the LRS store |
| --before | 0 | Clear logs older than N days (0 will remove all the logs) |