/
.How to obtain web server error logs v1

.How to obtain web server error logs v1

How can I view web server error logs?

Problem

Some errors are not captured in Totara logs or debugging messages. For example, authentication errors may occur before users log into Totara, or there may be a file size or processing limit on the web server that has been exceeded. In these cases the web server logs contain information on the error that has occurred. These logs can be viewed to help see what has happened.

Solution

Totara supports Apache and Internet Information Server web servers. How you access these logs is dependent on the web server being used.

Apache Web Server

  1. The name and the location of the log is set by the ErrorLog command and the default apache access log file locations are:

    • RHEL / Red Hat / CentOS / Fedora Linux Apache access log file location – /var/log/httpd/error_log
    • Debian / Ubuntu Linux Apache access log file location – /var/log/apache2/error.log
    • FreeBSD Apache access log file location – /var/log/httpd-error.log

    The web server user will need to have write access to the error log directory.


  2. There may be a graphical application that manages the server. For example in the Bitnami stack there is the Manager app, in which you can select Manage Servers > Open Error log.

Internet Information Server

  1. Open the Internet Information Services manager application.
  2. A list of sites will display in the IIS manager panel - make a note of the site ID of your Totara site.
  3. Click on your Totara site and double-click the Logging icon.
  4. Select Directory and navigate to the folder that ends with site ID of your Totara site. For example, W3SVC2 for site ID 2.

Filter by label

There are no items with the selected labels at this time.

Related content