Logs
The Logs Viewing feature provides users with a centralised interface to monitor and troubleshoot their site using various server and application logs. It supports both Nginx and OpenLiteSpeed environments and includes logs specific to PHP, WordPress, and server-level events.
Accessing the Logs Viewer
Section titled “Accessing the Logs Viewer”1. Open the site in FlyWP.
2. In the left sidebar, click Monitoring & Logs → Logs. WordPress sites open on the Debug Log tab.


Supported Logs by Site Type
Section titled “Supported Logs by Site Type”FlyWP supports both OpenLiteSpeed and NGINX sites, both of which have different log files. And for these sites, FlyWP supports viewing these logs.
Other site types show their own logs:
- Laravel:
app/storage/logs/laravel.log - Symfony:
app/var/log/*.log - Node.js: Application Log, which shows the app container's output
🔹 Nginx
Section titled “🔹 Nginx”- Nginx Access Log (access.log)
- Nginx Error Log (error.log)
- PHP Error Log (error.log)
- Debug Log (debug.log)
🔹 OpenLiteSpeed
Section titled “🔹 OpenLiteSpeed”- OLS Access Log (access.log)
- OLS Error Log (error.log)
- OLS Stderr Log (stderr.log)
- Debug Log (debug.log)
User Interface Features
Section titled “User Interface Features”Log tabs: Each log has its own tab at the top of the viewer. Click a tab to open that log. Below the log, FlyWP shows Showing last 500 lines from and the log file's path on the server.
Refresh, download and clear: The three icons at the top right of the Logs card act on the open log:
- Refresh log file loads the newest lines.
- Download log file saves the whole file as a
.logfile. - Clear log file (bin icon) empties the file after you confirm. Download it first if you may need it. The Application Log of a Node.js site streams from Docker and can't be cleared.

Viewing Logs
Section titled “Viewing Logs”Logs are displayed with:
- Clear timestamps
- Scrollable view for larger logs.
Understanding Log Entries
Section titled “Understanding Log Entries”Each log entry includes:
- Timestamp: When the event occurred.
- Type: Log level (notice, warning, error, deprecated).
- Description: Details about the issue and possible source (plugin, theme, or core).
Common Log Types
Section titled “Common Log Types”- Deprecated: Outdated PHP function, safe to ignore but updates are recommended.
- Warning: Non-critical issue, doesn’t stop any core function but should be fixed.
- Notice: Minor alerts for developers; low priority.
- Error: Critical issue; stops execution and must be resolved immediately.
Security and Privacy Considerations
Section titled “Security and Privacy Considerations”- Log entries cannot be edited. You can empty a log file with the Clear log file (bin) icon.
- Logs are only available to authorised users.
- The web server, PHP error and WordPress debug logs are checked once a day. A file is rotated when it reaches 100 MB, and the last 3 rotated copies are kept (compressed). Older copies are deleted.
Configuration and Setup
Section titled “Configuration and Setup”Enabling the WordPress Debug Log
Section titled “Enabling the WordPress Debug Log”You can enable the WordPress debug log using either the UI or manual file editing.
Option 1: Using the WP-CONFIG Page (Recommended)
Section titled “Option 1: Using the WP-CONFIG Page (Recommended)”- Go to: Configurations → WP Config
- Turn on Enable Debug Mode and Enable Debug Log
- And click on save. Now you should be able to view the WordPress debug log.


Logging Best Practices for High-Traffic and Production Sites
Section titled “Logging Best Practices for High-Traffic and Production Sites”If your website experiences high traffic or is running in a live production environment, it’s important to be cautious with logging—especially with WordPress and Nginx logs.
- WordPress debug logging (
app/logs/debug.log) should be disabled in production unless you’re actively troubleshooting. Continuous logging can introduce performance overhead and may slow down your site. - Nginx logs, particularly the access log, can grow rapidly on high-traffic sites. Every request is recorded, which can quickly lead to large files that consume disc space and impact server performance.
To maintain optimal performance, always resolve critical issues first, then disable or limit logging where appropriate in a production environment.
Troubleshooting
Section titled “Troubleshooting”| Issue | Solution |
|---|---|
| Cant view latest logs | The logs do not refresh automatically. Use the refresh button to get the latest logs. |
| No logs | Ensure the server is connected to FlyWP. |
| No WordPress Debug log | Ensure Debug Mode is enabled in WP-Config Page. If you still face the same error, try checking the PHP error logs. |
| Logs missing entries | The logs might be in a separate section. For NGINX, error logs and Access logs are separate. |
Q: Can I view logs older than 7 days?
A: For the web server, PHP error and WordPress debug logs, only the last 3 rotated copies are kept once a file reaches 100 MB. Older copies are deleted during the daily rotation check.
Q: How frequently are logs updated?
A: Logs are not updated automatically. To get the latest logs, click on the refresh icon.
Q: Can I share logs securely with support?
A: Yes, download logs and share them manually. Avoid sharing publicly due to sensitive data.
Extra details
Section titled “Extra details”A. Sample Log Entries
Section titled “A. Sample Log Entries”PHP Error Log:
[09-May-2025 12:34:56 UTC] PHP Warning: Undefined variable $foo in /path/to/file.php on line 10
Nginx Access Log:
192.168.1.1 – – [09/May/2025:12:35:12 +0000] “GET /index.php HTTP/1.1” 200 612 “-” “Mozilla/5.0”
WordPress Debug Log:
[09-May-2025 12:36:22 UTC] Notice: Undefined index: id in /wp-content/themes/theme/functions.php on line 45
B. Log File Paths
Section titled “B. Log File Paths”| Log Type | Nginx Path | OpenLiteSpeed Path |
|---|---|---|
| Access Log | ~/{domain_name}/logs/nginx/access.log | ~/{domain_name}/app/logs/access.log |
| NGINX Error Log | ~/{domain_name}/logs/nginx/error.log | N/A |
| PHP Error Log | ~/{domain_name}/logs/php/error.log | ~/{domain_name}/logs/ols/error.log |
| WordPress Debug Log | ~/{domain_name}/app/logs/debug.log | ~/{domain_name}/app/logs/debug.log |
| Stderr Log | N/A | ~/{domain_name}/logs/ols/stderr.log |
Still stuck? How can we help?
View as Markdown