This repository was archived by the owner on Aug 20, 2022. It is now read-only.
forked from SFULibrary/lockss-o-matic
-
Notifications
You must be signed in to change notification settings - Fork 0
Logging
Michael Joyce edited this page Oct 27, 2015
·
3 revisions
LOCKSS-O-Matic implements two types of logging, 1) the PLN Monitor and 2) the Event Log.
- Run as console command (e.g.
php app/console lockssomatic:monitor au 47) (typically) via a cron job - Results are stored in database and have GUI reporting tools.
- Logs events in the database, in the log_entry table.
- Type of events logged:
- User events (e.g., logging in, logging out, adding PLNs, content owners, content providers, etc.)
- Deposits created (via content providers and manually)
- System events (e.g., title db exported, SWORD request made, PLN Monitor query executed, email sent, etc.)
- Event logging is enabled in app/config/parameters.yml:
activity_log.enabled: true - Logs can be exported from the database at the command line:
./app/console lom:export:logs- pass the--purgeoption to remove the logs after export. - Logs can also be viewed at
/log.