Difference between revisions of "Log.pl"

From EPrints Documentation
Jump to: navigation, search
(Added page about config file)
 
(Added actually file name in bold.)
Line 2: Line 2:
 
{{cfgd}}
 
{{cfgd}}
  
This file contains configuration for how warning/error messages should be logged to the webserver's log files or standard error ouput more generally.
+
'''log.pl'' contains configuration for how warning/error messages should be logged to the webserver's log files or standard error ouput more generally.
  
 
* '''<code>$c->{loghandler}->{enable}</code>''' - This enables/disables logging to the webserver log files.
 
* '''<code>$c->{loghandler}->{enable}</code>''' - This enables/disables logging to the webserver log files.

Revision as of 10:37, 30 January 2022

EPrints 3 Reference: Directory Structure - Metadata Fields - Repository Configuration - XML Config Files - XML Export Format - EPrints data structure - Core API - Data Objects


Back to cfg.d

'log.pl contains configuration for how warning/error messages should be logged to the webserver's log files or standard error ouput more generally.

  • $c->{loghandler}->{enable} - This enables/disables logging to the webserver log files.
  • $c->{log_submission_timing} - This enables an additonal archive level log file for analysing the timings of users as they make their way through the submission process.
  • $c->{show_timestamps_in_log} - This includes timestamps in logged messages.
  • $c->{log} - The function for how log messages should be output. Typically this is just output the message to the standard error output (i.e. STDERR).