Understanding how to configure Axiom Logging, requires an understanding ofserver settings vs. application settings.
Note – $AXIOM_HOME refers to the location of the Axiom installation directory
Log Location
By default, the location of all logs is located at $AXIOM_HOME/log, please refer toconfiguring file paths of Axiom datafor information on configuring log output location.
Log Types
Access Log– Logs each incoming server access request. Default name and location is $AXIOM_HOME/log/axiom-(application name)-access.log.
The format of each entry in the log is:
[2008/09/10 11:57:42] work:get:shell [127.0.0.1], sid = 1zkl5red5sqc, 0 ins, 0 upd, 0 del in 1047 ms, cc = 1, sc = 1, re = 1,1,0
[Date/Time stamp] Request Path [Remote Address], sid = Session ID, # Objects Inserted ins, # Objects Updated, # Objects Deleted del in Request Time ms, cc = Cache Count, sc = Session Count, re = # Evaluators, # Active Evaluators, # Free Evaluators
Event Log– Logs debug information and general messages from Axiom. Default name and location is $AXIOM_HOME/log/axiom-(application name).log. In the scripting layer, a call to app.log(message), will write to the event log.
Error Log– Logs error information. Default name and location is $AXIOM_HOME/log/axiom-(application name)-error.log. By default, error information is logged to the event log, unless the errorLog property is defined in server.properties or app.properties
Request Log– Logs all incoming server requests at the Jetty level in NCSA format. Default name and location is $AXIOM_HOME/log/axiom-(application name)-request.log. Also by default this log is enabled, to disable this log, set enableRequestLog = false in server.properties or app.properties.
Changing Log Names
Axiom provides an interface to change the name of each log file produced on a global server level or application level through the following properties:
accessLog– Controls the name of the access log.
eventLog– Controls the name of the event log.
errorLog– Controls the name of the error log.
requestLog– Controls the name of the request log.
