Contributors: sadewadee Tags: debug, performance, monitoring, htaccess, php-config, developer-tools Requires at least: 5.0 Tested up to: 6.8 Requires PHP: 7.4 Stable tag: 1.2.26 License: GPL v3 or later License URI: https://www.gnu.org/licenses/gpl-3.0.html
Lightweight developer tools for WordPress: Debug Manager, Query Monitor, Htaccess Editor, PHP Config presets.
== Description ==
Advance Log Manager is a WordPress plugin that provides essential developer tools with a simple UI and safety-first approach. This plugin is designed to provide easy access to debugging, performance monitoring, configuration file editing, and PHP settings management with automatic backup systems.
- One-click debug mode toggle - Enable/disable WP_DEBUG, WP_DEBUG_LOG, etc.
- Advanced log viewer - Filter by level, time, file path with real-time filtering
- Smart search functionality - Text search with regex support and case-sensitive options
- Search highlighting - Visual highlighting of search terms in log entries
- Export filtered logs - Export only the filtered results
- Real-time filter counter - Live count of matching log entries
- Safe configuration - Auto-backup wp-config.php before modifications
- Clear debug logs - Clean logs with one click
- Admin bar integration - Performance metrics integrated with WordPress admin bar
- Unified display - Execution time, memory usage, and query count in one indicator
- Query Monitor style - Visual design consistent with popular developer tools
- Click-to-expand details - Detail panel appears from bottom of screen when clicked
- Real-time monitoring - Database queries, execution time, memory usage
- Detailed metrics - PHP version, WordPress version, peak memory
- Mobile responsive - Optimal display on all device sizes
- SMTP Logging - Log all outgoing emails sent via
wp_mailfor easy debugging.
- Safe .htaccess editing - Built-in syntax validation with CodeMirror syntax highlighting
- Auto-save functionality - Automatic saving with debouncing and toggle control
- Advanced editor - Syntax highlighting, line numbers, and code folding
- Auto-backup system - Max 3 backups with timestamp
- One-click restore - Rollback to previous backup
- Common snippets - WordPress rewrite, caching, compression, security headers
- Site accessibility test - Auto-restore if site breaks
- Duplicate prevention - Prevents adding the same snippet twice
- 503 Error protection - Enhanced validation to prevent service unavailable errors
- Editor controls - Status indicators, auto-save notifications, and unsaved changes warning
- Preset-based config - Basic, Medium, High performance presets
- Multiple methods - .htaccess, wp-config.php, .user.ini support
- Auto-detection - Smart method selection based on server environment
- Current config display - View active PHP settings
- Visual comparison - Compare current vs preset values
- Capability checking - Requires
manage_options - Nonce verification - All AJAX requests protected
- Content validation - Block malicious code patterns
- Advanced fail-safe mechanism - Multi-layer protection for wp-config.php modifications
- Atomic operations - Safe file operations with rollback and emergency recovery
- Comprehensive validation - PHP syntax, site accessibility, and WordPress constants validation
- Multiple backup points - Enhanced backup system with pre-restore emergency backups
- Post-rollback validation - Ensures site accessibility after recovery operations
- Site monitoring - Test accessibility after .htaccess changes
- Clean uninstall - Remove all modifications on plugin deletion
- Download plugin zip file
- Upload via Plugins → Add New → Upload Plugin
- Activate plugin
- Access via Tools → Advance Log Manager -
- Extract plugin files
- Upload
advanced-log-managerfolder to/wp-content/plugins/ - Activate via WordPress admin
wp plugin install advanced-log-manager.zip --activate- Go to Tools → Advance Log Manager
- Click Debug Management tab
- Toggle debug mode ON/OFF
- View current debug settings status
- Use advanced filtering:
- Filter by log level (Error, Warning, Notice, Deprecated)
- Filter by time range (Last Hour, 24 Hours, 7 Days, 30 Days)
- Search logs with text or regex patterns
- Filter by specific file paths
- Enable case-sensitive search
- Export filtered results
- Clear logs or view detailed logs with real-time counter
- Enable Performance Bar in Query Monitor tab
- Performance bar will appear at bottom of page for logged-in users
- Click info icon for detailed metrics
- Monitor database queries, execution time, memory usage
- Access .htaccess Editor tab
- Edit file content with advanced CodeMirror editor:
- Syntax highlighting for Apache configuration
- Line numbers and code folding
- Auto-save functionality with toggle control
- Status indicators for editor state
- File is automatically backed up before save
- Auto-save notifications and unsaved changes warning
- Restore from backup if needed
- Insert common snippets with one-click
- Duplicate snippets are automatically prevented
- Enhanced 503 error protection ensures site stability
- Select PHP Config tab
- Choose preset: Basic, Medium, or High Performance
- Preview setting changes
- Apply configuration
- System auto-detects best method (.htaccess, wp-config, .user.ini)
- Main Dashboard - Overview of all tools and current status
- Debug Management - Toggle debug settings and view logs
- Query Monitor - Performance metrics and database monitoring
- Htaccess Editor - Safe file editing with backup system
- PHP Configuration - Preset-based PHP settings management
== Frequently Asked Questions ==
= Is this plugin safe to use on production sites? = Yes, this plugin includes multiple safety features:
- Automatic backups before any file modifications
- Content validation to prevent malicious code
- Site accessibility testing after changes
- One-click restore functionality
- Capability checking and nonce verification
= What happens if I break my site? = The plugin includes comprehensive fail-safe mechanisms:
- Automatic backup creation before any changes
- Site accessibility testing after modifications
- One-click restore to previous working state
- Emergency recovery procedures
= Can I use this with other debugging plugins? = Yes, Advance Log Manager is designed to work alongside other debugging tools. It focuses on providing essential developer tools in one lightweight package.
= Does this plugin modify my theme files? = No, this plugin only modifies configuration files (wp-config.php, .htaccess) and creates its own database tables for logging. Your theme files remain untouched.
== Changelog ==
= 1.3.0 =
- Added CodeMirror syntax highlighting to .htaccess File Editor
- Implemented auto-save functionality with debouncing and toggle control
- Added advanced search and filtering for debug logs viewer
- Enhanced log filtering with regex support and case-sensitive options
- Added real-time filter counter and search term highlighting
- Implemented export filtered logs functionality
- Added file path filtering for debug logs
- Enhanced editor with status indicators and unsaved changes warning
- Improved responsive design for mobile devices
- Added comprehensive editor controls and notifications
= 1.2.26 =
- Fixed performance tabs filter, sort, and search functionality not working on frontend
- Fixed admin bar performance monitor toggle conflict causing double open/close behavior
- Added conditional event listener registration to prevent admin bar toggle conflicts
- Enhanced frontend script loading for complete performance monitoring functionality
- Added tabbed sidebar interface to Performance Details panel with Overview, Queries, Scripts, and Styles tabs
- Enhanced Performance Bar with modern tabbed navigation and responsive design
= 1.2.18 =
- Code cleanup and optimization
- Enhanced code maintainability
- Improved WordPress coding standards compliance
- Bug fixes and performance improvements
= 1.2.16 =
- Enhanced htaccess validation with duplicate snippet prevention
- 503 error protection for site stability
- Improved performance monitoring with real-time updates
- Better error handling and user feedback
= 1.0.0 =
- Initial release
- Debug management with wp-config.php integration
- Query monitor with performance bar
- Safe .htaccess editor with auto-backup
- PHP configuration presets with multi-method support
- Comprehensive admin interface with tabbed navigation
- Security features and permission checking
- Complete test suite
- Translation support
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, see https://www.gnu.org/licenses/.
Developed by MordenHost Team with focus on simplicity, safety, and developer experience.
This plugin is designed for developers who need essential WordPress tools in one lightweight and safe package.