net.sf.logdistiller.logtypes
Class WeblogicLogEvent

java.lang.Object
  extended by net.sf.logdistiller.LogEvent
      extended by 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

Field Summary
 Date date
           
static String ID
           
static LogType LOGTYPE
           
 String machine
           
 String message_id
           
 String message_text
           
 String server
           
 String severity
           
 String stacktrace
           
 String subsystem
           
 String thread_id
           
 String timestamp
           
 String transaction_id
           
 String user_id
           
 
Constructor Summary
WeblogicLogEvent(net.sf.logdistiller.logtypes.WeblogicLogEvent.Factory factory, String rawLog)
           
 
Method Summary
 int compareTo(Object o)
           
 
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
 

Field Detail

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
Constructor Detail

WeblogicLogEvent

public WeblogicLogEvent(net.sf.logdistiller.logtypes.WeblogicLogEvent.Factory factory,
                        String rawLog)
                 throws ParseException
Throws:
ParseException
Method Detail

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable


Copyright © 2004-2009. All Rights Reserved.