Audit Log & Monitoring

Audit Log

Audit Report (system/auditreport.php) is the platform-wide activity log:

  • Records: page views, login events, CRUD operations, permission changes, badge issuance
  • Each entry: timestamp, user ID, IP address, browser/device, action type, target resource
  • Filter by user, IP, date range, or action type

IP Anonymisation: IPs are automatically anonymised after a configurable retention period (default: 90 days) in compliance with GDPR.

Last X Days

Last X Days (system/systemLastXDays.php) provides a quick time-filtered view of audit data:

  • Enter a number of days and see all activity in that window
  • Useful for investigating a specific incident

Audit Analytics

Audit Analytics (system/analytics-auditcronpre.php and system/auditcron.php) pre-aggregates audit data for dashboard display:

  • Run the pre-aggregation job manually if needed (normally runs on schedule)
  • Results appear in the main Analytics dashboard (system/analytics.php)

Analytics Dashboard

Analytics (system/analytics.php) provides 29 configurable panels covering:

  • Active users by time period
  • Lesson view trends
  • Most-visited content
  • Search term analysis
  • Learner device and browser breakdown
  • Geographic distribution

IP Report

IP Report (system/ipreport.php) shows activity grouped by IP address:

  • Identify unusual access patterns
  • Useful for investigating potential misuse or bot traffic

Error Logs (PUP Logs)

LEAST writes application errors to the PUP log system:

Page URL Purpose
PUP Gizmo system/puplog_missingcontent.php Missing resource errors (broken material URLs, 404s)
PUP Hiccup system/puplog_list.php General application error list
PUP Wipe system/puplog_wipe.php Clear all error logs

Review error logs regularly to catch broken external content links before learners report them.

Server Info

Server Info (system/sysinfo.php) displays:

  • PHP version and loaded extensions
  • Web server configuration
  • Database connection details
  • Disk space and memory information

Run SQL Query

Run Query (system/query.php) provides a direct SQL execution interface for Level 3 admins. Use with caution — queries run directly against the production database. Always test SELECT queries before running UPDATE/DELETE.