Chat with us, powered by LiveChat
UK: 0330 223 4463 US/Intl: 1-844-808-8958

Our Blog

All the latest from our team
  • 13 Feb

    Error log viewer in cPanel

    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.

0 comment

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