An IPS4 plugin that adds bulk delete buttons to the System Logs and Error Logs pages in the AdminCP. Delete all logs at once or filter by category (system logs) or error level (error logs). File-based logs can also be purged. Every deletion is recorded in the ACP administrator audit log.
IPS4's default log management requires deleting entries one by one or waiting for automatic pruning. When you need to clear thousands of log entries — after a migration, debugging session, or server incident — there's no built-in way to do it efficiently. X Log Cleaner adds sidebar buttons to both the System Logs and Error Logs pages for instant bulk cleanup.
- Bulk delete all system logs from
core_log - Selective deletion by log category (dynamic multi-select)
- File log purge — delete all file-based logs from the fallback directory
- Read-only mode guard (
NO_WRITES) for file operations
- Bulk delete all error logs from
core_error_logs - Selective deletion by error level (1-5, based on error code)
- Confirmation checkbox required for every delete operation
- All deletions recorded in ACP administrator audit log
- Sidebar buttons disabled when no logs exist
- Modal dialog prevents accidental clicks
- Works in both production and developer (
IN_DEV) mode - No database tables or settings — pure hook plugin
- IPS4 4.7+ / PHP 8.0+
Download the latest release from the Releases page.
- Go to AdminCP > System > Plugins
- Click Install and upload the plugin XML file
- The bulk delete buttons will appear automatically on the System Logs and Error Logs pages
plugin-source/
hooks/
systemLogsController.php System logs + file logs hook
errorLogsController.php Error logs hook
dev/
lang.php Language strings (prefix: xlc_)
hooks.json Hook registration
versions.json Version history
| Document | Description |
|---|---|
| FEATURES.MD | Capability overview and current version |
| ARCHITECTURE.md | Hook design, methods, data flow |
| FLOW.md | Entry points and runtime flow |
| TEST_RUNTIME.md | Manual verification procedures |
| Releases | Version history and release notes |
Contributions are welcome. Please open an issue first to discuss what you'd like to change.
This project is free to use. See the repository for license details.
- IPS4 / Invision Community — Community platform
- XENNTEC — Developer
Made by XENNTEC