net.sf.logdistiller.logtypes
Class WeblogicLogEvent
java.lang.Object
net.sf.logdistiller.LogEvent
net.sf.logdistiller.logtypes.WeblogicLogEvent
- All Implemented Interfaces:
- Comparable
public class WeblogicLogEvent
- extends LogEvent
- implements Comparable
Log event for BEA Weblogic server's logs. By default, the date format is
MMM d, yyyy K:mm:ss a zz
with en_US
locale, but you can change these values with logtype
parameters date.format
(expressed as a
java.text.SimpleDateFormat pattern)
and date.locale
.
Example:
<logtype id="weblogic">
<param name="date.locale">fr_FR</param>
<param name="date.format">MMM d, yyyy K:mm:ss a zz</param>
</logtype>
By default, the classification rules generated by the GUI for this type of logs will sort events based on the
following attributes: severity
, then subsystem
then message_id
.
- See Also:
SimpleDateFormat
Constructor Summary |
WeblogicLogEvent(net.sf.logdistiller.logtypes.WeblogicLogEvent.Factory factory,
String rawLog)
|
Methods inherited from class net.sf.logdistiller.LogEvent |
checkInitialized, dump, dump, getAttribute, getAttribute, getAttributes, getAttributesCount, getFactory, getRawLog, getTimestamp, getValue, setAttributes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ID
public static final String ID
- See Also:
- Constant Field Values
date
public final Date date
timestamp
public final String timestamp
severity
public final String severity
subsystem
public final String subsystem
machine
public final String machine
server
public final String server
thread_id
public final String thread_id
transaction_id
public final String transaction_id
user_id
public final String user_id
message_id
public final String message_id
message_text
public final String message_text
stacktrace
public final String stacktrace
LOGTYPE
public static final LogType LOGTYPE
WeblogicLogEvent
public WeblogicLogEvent(net.sf.logdistiller.logtypes.WeblogicLogEvent.Factory factory,
String rawLog)
throws ParseException
- Throws:
ParseException
compareTo
public int compareTo(Object o)
- Specified by:
compareTo
in interface Comparable
Copyright © 2004-2009. All Rights Reserved.