org.rhq.core.pluginapi.event.log
Class Log4JLogEntryProcessor
java.lang.Object
org.rhq.core.pluginapi.event.log.MultiLineLogEntryProcessor
org.rhq.core.pluginapi.event.log.Log4JLogEntryProcessor
- All Implemented Interfaces:
- LogEntryProcessor
public class Log4JLogEntryProcessor
- extends MultiLineLogEntryProcessor
A LogEntryProcessor
for Log4J log files.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Log4JLogEntryProcessor
public Log4JLogEntryProcessor(String eventType,
File logFile)
getPattern
protected Pattern getPattern()
- Specified by:
getPattern
in class MultiLineLogEntryProcessor
processPrimaryLine
protected MultiLineLogEntryProcessor.LogEntry processPrimaryLine(Matcher matcher)
throws MultiLineLogEntryProcessor.ParseException
- Specified by:
processPrimaryLine
in class MultiLineLogEntryProcessor
- Throws:
MultiLineLogEntryProcessor.ParseException
getDefaultDateFormat
protected DateFormat getDefaultDateFormat()
- Specified by:
getDefaultDateFormat
in class MultiLineLogEntryProcessor
parseDateString
protected Date parseDateString(String dateString)
throws MultiLineLogEntryProcessor.ParseException
- Overrides:
parseDateString
in class MultiLineLogEntryProcessor
- Throws:
MultiLineLogEntryProcessor.ParseException
Copyright © 2008 RHQ Project Advisory Board (Red Hat, Inc. and Hyperic, Inc.). All Rights Reserved.