Answer :
Error logs help you identify issues with your website, such as PHP errors, missing files, plugin or theme failures, server misconfigurations, and more. GHFS Hosting provides several ways to access logs directly from Plesk.
This article explains all available methods.
1. View Logs Using Plesk Log Browser (Recommended)
Plesk includes a built-in log viewer that displays real-time logs for your website.
Steps:
-
Log in to your Plesk control panel
-
Go to Websites & Domains
-
Choose your domain
-
Click Logs
-
View your logs in real time or filter by log type
You can filter logs such as:
-
error_log
-
access_log
-
proxy error logs
-
PHP errors
-
nginx/access logs
This is the easiest and fastest method.
2. Enable “Show Only Errors” Mode
Inside the Plesk log viewer:
-
Use the Filter dropdown
-
Select Errors only
This helps you find the problem quickly.
3. Download Logs for Offline Analysis
You can download logs directly from Plesk.
Steps:
-
Go to Logs
-
Click Export (or Download)
-
Save the file for local analysis
This is useful when submitting logs to GHFS Hosting support.
4. View Raw Log Files Through File Manager
Plesk stores log files on the server, and you can view them through the File Manager.
Steps:
-
Go to Websites & Domains
-
Open File Manager
-
Navigate to:
/logs/
In this directory, you may see files such as:
-
error_log -
access_log -
proxy_error_log -
php_error.log
You can open or download them.
5. View Logs Using SSH (Advanced Users)
If you have SSH access, you can use command-line tools.
Common log locations:
View logs in real time:
Requires SSH-enabled plans.
6. Enable WordPress Debug Log (If Your Site Uses WordPress)
If you want WordPress-specific errors:
-
Edit
wp-config.php -
Add:
-
Logs appear at:
This file logs PHP and WordPress errors.
7. Enable PHP Error Display (For Testing Only)
If needed, you can temporarily enable PHP errors in Plesk:
Steps:
-
Websites & Domains
-
PHP Settings
-
Enable:
-
display_errors = On -
error_reporting = E_ALL
-
Important:
Turn this OFF after testing, because error display is not secure.
8. When to Contact GHFS Hosting Support
Contact support if:
-
Your logs are empty but your website still shows errors
-
You cannot access the Logs section
-
You see repeated fatal PHP errors
-
WordPress debug logs are not generated
-
You need help diagnosing server-side issues
Support can analyze logs on your behalf and guide you to the solution.