| java.lang.Object org.openharmonise.rm.logging.AbstractEventLogger org.openharmonise.rm.logging.XMLEventLogger
XMLEventLogger | public class XMLEventLogger extends AbstractEventLogger implements EventLogger(Code) | | Logs events to an XML file. This class uses the Java 1.4 logging package
to write events in an XML format to a file, the file is specified in the
configuration settings by the property 'EVENT_LOG_FILE'.
author: Michael Bell version: $Revision: 1.2 $ |
Constructor Summary | |
public | XMLEventLogger() Constructs an instance of the XML event logger. |
Method Summary | |
protected void | saveData(int nUserId, String sSessionId, int nObjectId, String sObjectType, String sAction, Date timestamp, String sIP, Map headers) | protected void | saveData(int nUserId, String sSessionId, int nObjectId, String sObjectType, String sAction, Date timestamp, String sIP, String sAdditional) |
ATTRIB_HEADER_NAME | final public static String ATTRIB_HEADER_NAME(Code) | | HTTP header name attribute name
|
ATTRIB_OBJECT_ID | final public static String ATTRIB_OBJECT_ID(Code) | | Object id attribute name
|
TAG_HTTP_HEADERS | final public static String TAG_HTTP_HEADERS(Code) | | HTTP headers tag name
|
TAG_HTTP_PARAMETERS | final public static String TAG_HTTP_PARAMETERS(Code) | | HTTP parameter tag name
|
TAG_IP_ADDRESS | final public static String TAG_IP_ADDRESS(Code) | | IP address tag name
|
TAG_LABEL | final public static String TAG_LABEL(Code) | | Label tag name
|
TAG_OBJECT | final public static String TAG_OBJECT(Code) | | Event object tag name
|
TAG_SESSION_ID | final public static String TAG_SESSION_ID(Code) | | Session id tag name
|
TAG_TIMESTAMP | final public static String TAG_TIMESTAMP(Code) | | Timestamp tag name
|
TAG_USER_ID | final public static String TAG_USER_ID(Code) | | User id tag name
|
XMLEventLogger | public XMLEventLogger() throws LogException(Code) | | Constructs an instance of the XML event logger.
|
Methods inherited from org.openharmonise.rm.logging.AbstractEventLogger | public void logEvent(LogEvent event) throws LogException(Code)(Java Doc) abstract protected void saveData(int nUserId, String sSessionId, int nObjectId, String sObjectType, String sAction, Date timestamp, String sIP, Map headers) throws LogException(Code)(Java Doc) abstract protected void saveData(int nUserId, String sSessionId, int nObjectId, String sObjectType, String sAction, Date timestamp, String sIP, String sAdditional) throws LogException(Code)(Java Doc)
|
|
|