Difference between revisions of "Log Files"

From EPrints Documentation
Jump to: navigation, search
(Added some log files produced by eprints or associated applications)
 
m
Line 2: Line 2:
  
 
EPrints produces a number of log files, as do the integral components of EPrints such as Apache and MySQL.  Below is a list of logs files that may be of interest for debugging EPrints.  (Please note that log files may appear in different place for different operating systems):
 
EPrints produces a number of log files, as do the integral components of EPrints such as Apache and MySQL.  Below is a list of logs files that may be of interest for debugging EPrints.  (Please note that log files may appear in different place for different operating systems):
 
  
 
{| class="wikitable"
 
{| class="wikitable"

Revision as of 12:12, 8 September 2017

Warning.png

Work in Progress
The page is a work in progress.

Only some of the log files produced by EPrints and associated applications have been listed so far.

EPrints produces a number of log files, as do the integral components of EPrints such as Apache and MySQL. Below is a list of logs files that may be of interest for debugging EPrints. (Please note that log files may appear in different place for different operating systems):

Name Typical Location on Red Hat based Linux Typical Location on Debian based Linux Purpose Uses
Apache access log /var/log/httpd/access_log /var/log/apache2/access.log Logs all accesses to HTTP URLs hosted by Apache unless an individual access log has been created for a particular "virtualhost". Can be searched over to check IP addresses that are making excessive or malicious requests.
Apache error log /var/log/httpd/error_log /var/log/apache2/error.log Logs all issues that occur with Apache or underlying application (i.e. perl and mod_perl) when attempting to service URL requests. Can be used to debug issues with EPrints code base, where a script cannot or behaves normally when run directly from the command line.
Apache ssl access log /var/log/httpd/ssl_access_log /var/log/apache2/ssl_access.log Logs all accesses to HTTPS URLs hosted by Apache unless an individual access log has been created for a particular "virtualhost". Can be searched over to check IP addresses that are making excessive or malicious requests for HTTPS URLs.
Apache ssl error log /var/log/httpd/ssl_error_log /var/log/apache2/ssl_error.log Logs all issues that occur with Apache or underlying application (i.e. perl and mod_perl) when attempting to service HTTPS URL requests. Can be used to debug issues with EPrints code base, where a script cannot or behaves normally when run directly from the command line.
MySQL log /var/log/mysql/mysql.log or /var/log/mariadb/mariadb.log /var/log/mysql/error.log Logs general operational issue about MySQL and any errors that occur with the application but not specific database queries Only really useful if MySQL / MariaDB will not start properly.

Parsing the Apache access log