Where to find your ErrorLog, AccessLog and Slow Query Log

For every single site on your Servebolt Bolt, we will generate two logs by default. One is the ErrorLog and the other is your AccessLog. Additionally, we can also make a Slow Query Log available for you upon request. 

All log files can be found in the root of your site in the ~/logs folder. That’s not to be confused with the root site of your CMS which will be in the ~/public folder. The ~/logs folder is at the same level as your ~/public folder.

The ErrorLog can also be found and viewed in the Servebolt Optimizer plugin by navigating to the plugin and clicking the “Error Log” button.

You can reach the ~/logs folder with the use of SFTP or SSH. If you want more information on examining the log files using CLI, then check this article.

ErrorLog

Any code running on your site that generates any kind of runtime error will produce an error. These won’t necessarily all be errors that would break your site, think of them as silently failing errors, but sometimes they do.

The ErrorLog  file does not have a file extension, but you can open this file with any text editor. You may also find a file called ErrorLog-20200429.gz and this simply means that the ErrorLog  file has been compressed into a .gz archive. Most unzipped, unarchive apps will know how to uncompress this file into a readable ErrorLog  format. 

AccessLog

The AccessLog file works much like the ErrorLog file in that it also lives in the ~/logs  folder of the root of your site. Use SFTP or SSH to navigate to the file system of your server and there you will find the /logs  folder. 

Inside it, you will find an AccessLog file which is for the running day, as well as archived and compressed AccessLog-timestamp.gz files, which will go back a full week. An example of what such a file would look like is AccessLog-20200429.gz  where the 2020  part stands for the year 2020, 04 stands for April and 29  is the day the file originally was generated.

The AccessLog  file does not have a file extension, but you can open this file with any text editor. Unzip the .gz  files to make the readable AccessLog  format available.

Slow Query Log

Upon request, our Support Agents can provide a Slow Query Log file. However, this is a manual process for us. These are not auto-generated. If you are in need of a Slow Query Log, please request one in our chat and we’ll generate one for you. You’ll be able to find them in the ~/private  folder in the root of your site. 

This log file, just like the other two can be opened with any text editor.