<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Advanced Usage &#8211; Debug Log Viewer</title>
	<atom:link href="https://www.lysyiweb.net/docs-category/advanced-usage/feed" rel="self" type="application/rss+xml" />
	<link>https://www.lysyiweb.net</link>
	<description></description>
	<lastBuildDate>Sat, 14 Mar 2026 14:17:20 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>

<image>
	<url>https://www.lysyiweb.net/wp-content/uploads/2026/02/cropped-logo-1-2-32x32.png</url>
	<title>Advanced Usage &#8211; Debug Log Viewer</title>
	<link>https://www.lysyiweb.net</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Advanced Features</title>
		<link>https://www.lysyiweb.net/docs/advanced-features</link>
					<comments>https://www.lysyiweb.net/docs/advanced-features#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Fri, 20 Feb 2026 12:12:15 +0000</pubDate>
				<guid isPermaLink="false">https://www.lysyiweb.net/?post_type=docs&#038;p=1298</guid>

					<description><![CDATA[Advanced Debug Log Viewer features for developers: custom log paths, CSV export with date filters, and security tools to protect WordPress debug logs.]]></description>
										<content:encoded><![CDATA[<!-- content style : start --><style type="text/css" data-name="kubio-style"></style><!-- content style : end -->
<p class="wp-block-paragraph">This section covers advanced functionality for power users and developers.</p>



<h2 class="wp-block-heading">Custom Log Path Support</h2>



<p class="wp-block-paragraph">The plugin automatically detects custom log file paths defined in your WordPress configuration. This supports non-standard locations for debug.log files, which is useful when you need to store logs outside the default WordPress directory structure.</p>



<h3 class="wp-block-heading"><strong>Plugin Auto-Detection Methods</strong></h3>



<p class="wp-block-paragraph">The plugin scans common WordPress directories and checks for alternative debug log locations. It uses multiple detection methods to locate your debug.log file, including:</p>



<ul class="wp-block-list">
<li>Standard WordPress root directory</li>



<li>wp-content directory</li>



<li>Custom paths defined in <code>wp-config.php</code></li>
</ul>



<h3 class="wp-block-heading"><strong>Limitations with Custom Paths</strong></h3>



<p class="wp-block-paragraph">Some features may be limited if the custom path is outside standard directories. Ensure that the custom path is writable by WordPress to avoid access issues.</p>



<h3 class="wp-block-heading"><strong>Debug Constants Behavior with Custom Paths</strong></h3>



<p class="wp-block-paragraph"><code>WP_DEBUG_LOG</code> must still be defined in wp-config.php, even when using custom paths. The plugin adapts to the specified path while maintaining all core functionality.</p>



<h2 class="wp-block-heading"><strong>Export Features (Pro)</strong></h2>



<p class="wp-block-paragraph">The Pro version provides CSV export capabilities with advanced filtering options. This allows you to download logs for external analysis.</p>



<h3 class="wp-block-heading"><strong>Exporting Logs to CSV Format</strong></h3>



<p class="wp-block-paragraph">Download logs as comma-separated values compatible with spreadsheet software. This format is ideal for:</p>



<ul class="wp-block-list">
<li>Importing into Excel or Google Sheets</li>



<li>Creating visualizations and charts</li>



<li>Sharing with team members</li>
</ul>



<h3 class="wp-block-heading"><strong>Date Range Filtering for Exports</strong></h3>



<p class="wp-block-paragraph">Select specific time periods for export to focus on relevant data. This feature is particularly useful when:</p>



<ul class="wp-block-list">
<li>Investigating issues during specific time windows</li>



<li>Generating reports for particular periods</li>



<li>Analyzing trends over time</li>
</ul>



<h3 class="wp-block-heading"><strong>Custom Time Range Selection</strong></h3>



<p class="wp-block-paragraph">Set start and end dates for export using the date picker interface. You can filter by:</p>



<ul class="wp-block-list">
<li>Specific hours within a day</li>



<li>Full days or weeks</li>



<li>Custom date ranges</li>
</ul>



<h3 class="wp-block-heading"><strong>Using Exported Data for Anal</strong>ysis</h3>



<p class="wp-block-paragraph">Import exported CSV files into your preferred analysis tools. This allows you to:</p>



<ul class="wp-block-list">
<li>Apply advanced filtering and sorting</li>



<li>Create pivot tables for trend analysis</li>



<li>Generate charts and graphs</li>
</ul>



<h3 class="wp-block-heading"><strong>CSV Structure and Columns</strong></h3>



<p class="wp-block-paragraph">Exported files include all log table columns:</p>



<ul class="wp-block-list">
<li>Timestamp: When the error occurred</li>



<li>Type: Error level (Notice, Warning, etc.)</li>



<li>Description: Detailed error message</li>



<li>File: Source file path</li>



<li>Line: Line number in the file</li>



<li>Stack Trace: Full call hierarchy</li>
</ul>



<h2 class="wp-block-heading">The log file Security</h2>



<p class="wp-block-paragraph">The plugin includes features to help you secure your debug log files.</p>



<h3 class="wp-block-heading"><strong>Debug File Accessibility Warnings</strong></h3>



<p class="wp-block-paragraph">The plugin detects if your log file is publicly accessible and alerts you to potential security risks. This helps prevent sensitive information from being exposed.</p>



<p class="wp-block-paragraph">The plugin verifies whether <code>debug.log</code> can be accessed via browser. It checks direct URL access to the file</p>



<h3 class="wp-block-heading"><strong>Security Best Practices</strong></h3>



<p class="wp-block-paragraph">Follow these recommendations to secure your debug logs:</p>



<ul class="wp-block-list">
<li>Place debug.log outside the web root when possible</li>



<li>Restrict file permissions to 640 or more restrictive</li>



<li>Regularly clean up old logs</li>
</ul>



<h3 class="wp-block-heading"><strong>.htaccess Protection Recommendations</strong></h3>



<p class="wp-block-paragraph">Add these rules to your .htaccess file:</p>



<pre class="wp-block-code"><code><code>&lt;Files ~ "^debug\.log$">
  Order deny,allow
  Deny from all
&lt;/Files></code>
</code></pre>



<p class="wp-block-paragraph">This prevents public access while maintaining plugin functionality.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.lysyiweb.net/docs/advanced-features/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Use Cases &#038; Tutorials</title>
		<link>https://www.lysyiweb.net/docs/use-cases-tutorials</link>
					<comments>https://www.lysyiweb.net/docs/use-cases-tutorials#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Fri, 20 Feb 2026 15:42:08 +0000</pubDate>
				<guid isPermaLink="false">https://www.lysyiweb.net/?post_type=docs&#038;p=1309</guid>

					<description><![CDATA[Practical Debug Log Viewer examples for developers, administrators, and agencies. Learn how to debug WordPress errors, monitor logs, and manage alerts.]]></description>
										<content:encoded><![CDATA[<!-- content style : start --><style type="text/css" data-name="kubio-style"></style><!-- content style : end -->
<p class="wp-block-paragraph">This guide provides practical examples for different user types.</p>



<h2 class="wp-block-heading">For Developers</h2>



<h3 class="wp-block-heading"><strong>Debugging Plugin Conflicts</strong></h3>



<p class="wp-block-paragraph">Enable <code>WP_DEBUG</code> and <code>WP_DEBUG_LOG</code> to start capturing errors. Reproduce the conflict scenario and check logs for Fatal Errors or Database Errors.</p>



<h3 class="wp-block-heading"><strong>Tracking Deprecation Warnings</strong></h3>



<p class="wp-block-paragraph">Filter logs by &#8220;Deprecated&#8221; error type to identify outdated functions. Use SearchBuilder to find specific deprecated calls in your codebase.</p>



<h3 class="wp-block-heading"><strong>Monitoring Database Query Errors</strong></h3>



<p class="wp-block-paragraph">Filter by &#8220;Database Error&#8221; type to check for slow queries or connection issues. Optimize problematic database operations based on the error details.</p>



<h3 class="wp-block-heading"><strong>Identifying Performance Bottlenecks</strong></h3>



<p class="wp-block-paragraph">Look for repeated Warning entries and check stack traces for time-consuming functions. Use the datetime filter to correlate with slow page loads.</p>



<h3 class="wp-block-heading"><strong>Using Stack Traces Effectively</strong></h3>



<p class="wp-block-paragraph">Click on a log entry to expand the stack trace. Follow the call hierarchy from bottom (origin) to top (error). Identify which function or plugin triggered the issue.</p>



<h2 class="wp-block-heading">For Site Administrators</h2>



<h3 class="wp-block-heading"><strong>Monitoring Site Health</strong></h3>



<p class="wp-block-paragraph">Set up daily alerts for Fatal Errors and Database Errors. Review logs weekly for recurring issues. Use the relative time format to spot recent problems.</p>



<h3 class="wp-block-heading"><strong>Identifying Problematic Plugins/Themes</strong></h3>



<p class="wp-block-paragraph">Filter logs by file path to find plugin-specific errors. Check for errors originating from <code>/wp-content/plugins/</code>. Deactivate suspicious plugins and monitor for improvements.</p>



<h3 class="wp-block-heading"><strong>Setting Up Preventive Maintenance Alerts</strong></h3>



<p class="wp-block-paragraph">Configure alerts for Warning or Fatal-level errors. Set frequency to &#8220;Twice Daily&#8221; for active monitoring. Add your maintenance team&#8217;s email addresses.</p>



<h3 class="wp-block-heading"><strong>Regular Log File Cleanup</strong></h3>



<p class="wp-block-paragraph">Schedule automatic cleanup to run daily. Set maximum log size to 5MB for optimal performance. Keep the last 10% of logs for historical reference.</p>



<h3 class="wp-block-heading">Security Monitoring</h3>



<p class="wp-block-paragraph">Filter logs by &#8220;Parse Error&#8221; to catch syntax issues. Monitor for unusual file access patterns. Set up alerts for errors in security-sensitive plugins.</p>



<h2 class="wp-block-heading">For Agencies</h2>



<h3 class="wp-block-heading"><strong>Managing Multiple Client Sites</strong></h3>



<p class="wp-block-paragraph">Use the same alert configuration across all client sites. Standardize error level monitoring (Fatal + Database Errors). Document each site&#8217;s typical error patterns.</p>



<h3 class="wp-block-heading"><strong>Standardized Monitoring Setup</strong></h3>



<p class="wp-block-paragraph">Create a checklist for new client onboarding:</p>



<ul class="wp-block-list">
<li>Enable debug logging</li>



<li>Configure alerts with agency email</li>



<li>Set cleanup schedule</li>
</ul>



<h3 class="wp-block-heading"><strong>Client Site Email Alerts Configuration</strong></h3>



<p class="wp-block-paragraph">Add client contact emails as recipients (Pro). Set appropriate alert frequency based on site activity. Document alert configurations for each client.</p>



<h3 class="wp-block-heading"><strong>Automated Log Maintenance Strategies</strong></h3>



<p class="wp-block-paragraph">Implement cleanup schedules based on site traffic:</p>



<ul class="wp-block-list">
<li>High-traffic: Every 6 hours</li>



<li>Medium-traffic: Twice daily</li>



<li>Low-traffic: Daily</li>
</ul>



<h3 class="wp-block-heading"><strong>Reporting and Documentation</strong></h3>



<p class="wp-block-paragraph">Export logs monthly for client reports (Pro). Use CSV exports to create error trend charts. Document recurring issues and resolutions.</p>



<p class="wp-block-paragraph">For technical reference, see the <a href="https://www.lysyiweb.net/docs-category/technical-reference/" data-type="doc_category" data-id="13">Technical Reference</a> guide.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.lysyiweb.net/docs/use-cases-tutorials/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
