Chat with us, powered by LiveChat

What's new at Valcato HQ

Error log viewer in cPanel

February 13, 2009, Written by 0 comment

We’ve disabled the error log viewer in the web site control panel (cPanel), because a configuration change we had to make rendered it pretty much useless due to the rather quirky way cPanel handles error logs.

For some reason, by default cPanel logs all errors from all accounts into one big file, then then the error log viewer just looks for the lines containing the path to your home directory (i.e. the location of your account’s files). The problem with this is that not all errors relating to your account actually contain this path — this is especially true of Django applications, for example — so it was impossible for customers to see some of the errors their sites were generating.

To remedy this, we’ve reconfigured the web server to log errors to a file called “tmp/error.log” in each user’s home directory. This makes cPanel’s error log viewer useless because it doesn’t know to look at that file for errors, but since the error log can be viewed/downloaded in SSH and FTP we feel this trade-off is worth it so that customers can actually see all of their errors.

Avatar
Adam

Leave a reply

Your email address will not be published. Required fields are marked *

5% Off
10% Off
5% Off
Try Again!
$25 Credit
10% Off
20% Off
5% Off
Try Again!
6 Months Free
It's Our Birthday!
To celebrate 17 years of award-winning hosting services, we're giving away 100s of prizes over March! Simply enter your e-mail address and spin the wheel for your chance to win.
  • 5%/10%/20% Off (Codes beginning BD5/10/20) Discount applied to your first Shared Hosting or UK VPS invoice. Pay annually to save more!
  • $25 Credit (Codes beginning BD25) Applied as a discount to your order when opening a new Shared Hosting or VPS plan, remainder can be applied to future invoices or used to purchase new services. Offer open to new and existing clients when they order a new service.
  • 6 Months Free Hosting (Codes beginning BD50) Purchase any new Shared or VPS plan and pay annually to save 50%. Open to new and existing clients when ordering a new service. Select annual payment to qualify. Max discount $100.

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close