Installation:
1. Install the extension:
pip install -e .
2. Add ‘tables logs’ to ckan.plugins in your config file
3. Configure log file path and filename:
ckanext.logs.logs_path = /var/log/ckan
ckanext.logs.log_filename = ckan_default.error.log
4. Access log dashboard at /ckan-admin/logs/dashboard (sysadmin only)
Dependencies:
- ckanext-tables (required for table rendering)
Features:
- Read log files including .gz compressed files
- Parse multi-line log entries with stack traces
- Display timestamps, log levels, modules and messages
- Filter and search capabilities via ckanext-tables
- Support for multiple log files with automatic sorting by date
- Configurable number of log entries to display (default 10000)