public class Log4jXmlLogEvent extends LogEvent implements Comparable<Log4jXmlLogEvent>
log4j-XML
). By default, the classification rules generated by the GUI for
this type of logs will sort events based on the following attributes: level
, then logger
.Modifier and Type | Field and Description |
---|---|
String |
datetime |
static LogType.Description |
DESCRIPTION |
static String |
ID |
String |
level |
String |
locationInfoClass |
String |
locationInfoFile |
String |
locationInfoLine |
String |
locationInfoMethod |
String |
logger |
static LogType |
LOGTYPE |
String |
message |
String |
ndc |
String |
thread |
String |
throwable |
String |
timestamp |
long |
timestampValue |
Constructor and Description |
---|
Log4jXmlLogEvent(LogEvent.Factory factory,
String rawLog) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Log4jXmlLogEvent o) |
static String |
unescapeCDATA(String cdata) |
checkInitialized, dump, dump, getAttribute, getAttribute, getAttributes, getAttributesCount, getFactory, getRawLog, getTimestamp, getValue, setAttributes
public static final String ID
public final long timestampValue
public final String locationInfoClass
public final String locationInfoMethod
public final String locationInfoFile
public final String locationInfoLine
public static final LogType.Description DESCRIPTION
public Log4jXmlLogEvent(LogEvent.Factory factory, String rawLog) throws ParseException
ParseException
public static String unescapeCDATA(String cdata)
public int compareTo(Log4jXmlLogEvent o)
compareTo
in interface Comparable<Log4jXmlLogEvent>
Copyright © 2004–2014. All rights reserved.