Please wait while we load your page...

PasswordSentry

Latest Version [8.00202205221] Last Updated [May-22-2022]

Home




error_log Files



If you use cPanel, you may notice the presence of a files called error_log.

What is the Error Log?

cPanel states, "This function will display the last 300 errors for your site. This can be very useful for finding broken links or problems with missing files. Checking this log frequently can help keep your site running smoothly." What this means is when your site is visited by someone, the server receives a request from that visitors browser and location to your server. When the visitor hits a section of your website and they cause an error, the error log will log the date, time, IP , page the error occurred and so forth. These errors could be caused for a number of reasons.

These are important files which display errors or warnings which indicate problems you should be aware of so you can correct them. Problem is that they are created in the directory where the error was generated. You could potentially have dozens or hundreds of these files scattered across the server file system. There is a way to list the file so you can better deal with them. You do this by issuing the following command via SSH:

find /home/public_html/yourdomainaccount/ -name error_log

That command will search for and output all incidences of error_log in the chosen directory. Then, you can transverse to each one via SSH or FTP to view the file, and then correct any issues. Highly recommended you do this on a regular basis. Good for optimal server maintenance and server security.
 

Live Chat Offline