For every development process you need logs to check that the work you’re performing is actually doing what it’s supposed to do. Furthermore, logs help you identify and ultimately fix site issues.
In this section you can find the actual logs of your site, depending on the flags that you set. Additionally, you have the possibility to search in the logs. Here are some use cases:
- you can search for a keyword, such as error, warning, notice and any other word related to the type of information you seek; for example you can search for the wp_options table if you have made recent changes
- your front page has gone down and you receive an id which you can search for to find the error that lets you know what has caused its crash (usually a code change)
- when debugging or developing, you can send messages using the error_log php function and then search in the logs for its corresponding message
Please note that the logs are kept for a week; therefore, you won’t be able to access older logs directly in your dashboard. Please get in touch with our support team in case you need older logs.
What kind of information can I find in the logs?
This obviously depends on the log level you’ve set for the site. Besides the standard PHP and WordPress related logs, we’re adding various other logs, such as:
- cache refresh notifications - these indicate URLs that take a long time to refresh, or errors related to cache refresh
- database errors - errors or notifications from MySQL
- transactional e-mails - details about e-mails sent from WordPress (such as comment notifications, new users, contact forms etc.)
- php-fpm notifications - these contain errors or notifications from
Log settings tab, you can set the level for the logs that are generated for your site:
ALL- besides all the above, this also sets the
trueand changes the way errors are displayed by including the stack trace.
NOTICE- this logs everything, including
WARNING(default setting) - warnings are logged as well. This extends
ERROR- only fatal errors are logged. This means all the PHP fatal errors and
Please note that any other settings besides ERROR are automatically reverted after 30 minutes.
Displaying the stack trace can expose sensitive information, so use it carefully on production websites.
How do I debug code problems?
You can check the Logs section to see any code-related problems. This section of our dashboard displays the actual logs of your site, depending on the flags that are set. Additionally, you have the possibility to search and filter logs.