Skip to main content

Debug errors with the server logs

How to use logs to analyze errors and see how many requests are made to your WordPress site.

Jan Hornung avatar
Written by Jan Hornung
Updated over 4 months ago

Raidboxes provides you with a total of three logs you can use to analyze errors and traffic to your site:


The error log

Your site's error log shows you all errors that are logged by your web server. Many of the errors in this log are PHP errors produced by plugins or themes.

The error log can be viewed via FTP. Reconnect via an FTP client of your choice and look at the error logs in the "logs" folder. Our article on FTP credentials explains where to find the login details.

Debug errors with the server logs search Logs per FTP

You can also access your site's live error log at any time via the Box overview.

Debug errors with the server logs - Log Options

The WordPress debug log

The WordPress debug log shows all errors reported by WordPress itself. You can only access the WP debug log after you've activated the WP debug mode for your site. This can be done with a few clicks directly from your Box settings under Settings > WordPress > WP Debug.

Activate the WP debug mode

In your Box settings, go to the WordPress menu from the sidebar.

Switch the "WP Debug" toggle to ON. Your site will now log all errors reported by WordPress.

Debug errors with the server logs - Activate WP Debug Log

By clicking on "WordPress debug logs", you can see which errors are thrown by your WordPress site in the live log. Access the log itself either via the settings in the WP Debug section or via the Box overview.

You can also access the WP debug log files via FTP. The log files are stored in the area /wp-content/ in the file "debug.log".

Important: Don't forget to deactivate the WordPress debug mode when you're finished with your analysis. If you leave it active, WordPress will write all errors it finds to the "debug.log" file. If errors occur regularly, this file may become very large and take up too much space.

Debug errors with the server logs - Access Log FTP

The access log

The access log shows you which IPs have accessed your site and which requests were generated. The access log is sometimes referred to as the server log.

To access this log, you first need to connect to our FTP server and then open the folder "logs". Here you'll find both the error and the access logs. These logs are stored for a maximum of 7 days.

(Note: If your server is overloaded, you can use your site's access log to analyze exactly how many hits were made to your site at a specific time).

The cronjob log (crond.log)

The Raidboxes 2.0 Boxes additionally offer a cronjob log. In this log you can see exactly which cronjobs were executed at which time.

You can find the cronjob log, crond.log, in your file system in the logs directory.

Did this answer your question?