ASA2 Advanced Log
ASA2 Advanced Log is an add-on plugin for ASA2 that provides advanced logging capabilities for your ASA2 installation. It replaces ASA2's default logger with a powerful, configurable logging system that supports multiple logging destinations simultaneously.
The add-on supports four logging destinations that can be used independently or combined:
- Database Logging — Stores log entries in your WordPress database with a built-in Log Viewer for browsing and searching.
- BetterStack (Logtail) — Sends logs to BetterStack's cloud-based log management service for centralized log aggregation.
- Sentry — Sends errors and exceptions to Sentry for error tracking and performance monitoring.
- Slack — Sends real-time notifications to a Slack channel when important events occur.
How It Works
ASA2 Advanced Log hooks into ASA2's logging system and replaces the default logger with a Monolog-based logger. Once activated, all log messages from ASA2 are automatically routed to your configured destinations. No changes to your ASA2 setup are required — the plugin integrates seamlessly.
Each destination can have its own minimum log level, allowing you to fine-tune what gets logged where. For example, you can log everything to your database for debugging while only sending errors and critical issues to Slack for immediate attention.
Installation & Activation
- Download the ASA2 Advanced Log plugin ZIP file from your account at getasa2.com.
- In your WordPress admin, go to Plugins → Add New → Upload Plugin and upload the ZIP file.
- Click Activate.
- Go to ASA2 → Licenses and enter your ASA2 Advanced Log license key to activate it.
Requirements
- ASA2 (core plugin) must be installed and active.
- PHP 8.1 or higher.
- WordPress 5.9 or higher.
Settings
After activation, the settings are available under ASA2 → Advanced Logging in your WordPress admin. The settings are organized into sections — one for general options and one for each logging destination.
General
| Setting | Description |
|---|---|
| Activate Plugin | Master toggle to enable or disable the entire advanced logging system. |
| Include Backtrace | When enabled, includes a stack trace with each log entry. Useful for debugging to see where a log message originated. |
Next Steps
- Handlers, Log Viewer & Troubleshooting — Configure logging destinations, use the Log Viewer, and solve common issues.

