Difference between revisions of "Log.pl"
(Added page about config file) |
m |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
{{cfgd}} | {{cfgd}} | ||
− | + | '''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. |
Latest revision as of 10:38, 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
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).