Package org.red5.logging
Class W3CAppender
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.UnsynchronizedAppenderBase<E>
ch.qos.logback.core.OutputStreamAppender<E>
ch.qos.logback.core.FileAppender<ch.qos.logback.classic.spi.LoggingEvent>
org.red5.logging.W3CAppender
- All Implemented Interfaces:
ch.qos.logback.core.Appender<ch.qos.logback.classic.spi.LoggingEvent>
,ch.qos.logback.core.spi.ContextAware
,ch.qos.logback.core.spi.FilterAttachable<ch.qos.logback.classic.spi.LoggingEvent>
,ch.qos.logback.core.spi.LifeCycle
public class W3CAppender
extends ch.qos.logback.core.FileAppender<ch.qos.logback.classic.spi.LoggingEvent>
Logback appender for the Extended W3C format.
- Author:
- Paul Gregoire (mondain@gmail.com)
- See Also:
-
- "http://www.w3.org/TR/WD-logfile.html"
-
Field Summary
Modifier and TypeFieldDescriptionprivate static String
private static LinkedList<String>
private static String
private static boolean
#Software: Red5 0.7.1 #Version: 1.0 #Date: 1998-11-19 22:48:39 #Fields: date time c-ip cs-username s-ip cs-methodFields inherited from class ch.qos.logback.core.FileAppender
append, COLLISION_WITH_EARLIER_APPENDER_URL, DEFAULT_BUFFER_SIZE, fileName
Fields inherited from class ch.qos.logback.core.OutputStreamAppender
encoder, streamWriteLock
Fields inherited from class ch.qos.logback.core.UnsynchronizedAppenderBase
name, started
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context
-
Constructor Summary
-
Method Summary
Methods inherited from class ch.qos.logback.core.FileAppender
addErrorForCollision, checkForFileCollisionInPreviousFileAppenders, getFile, isAppend, isPrudent, openFile, rawFileProperty, setAppend, setBufferSize, setFile, setPrudent, start, stop, writeOut
Methods inherited from class ch.qos.logback.core.OutputStreamAppender
append, closeOutputStream, getEncoder, getOutputStream, isImmediateFlush, setEncoder, setImmediateFlush, setLayout, setOutputStream, subAppend, writeByteArrayToOutputStreamWithPossibleFlush
Methods inherited from class ch.qos.logback.core.UnsynchronizedAppenderBase
addFilter, clearAllFilters, getCopyOfAttachedFiltersList, getFilterChainDecision, getName, isStarted, setName, toString
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface ch.qos.logback.core.spi.ContextAware
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
-
Field Details
-
headerWritten
private static boolean headerWritten#Software: Red5 0.7.1 #Version: 1.0 #Date: 1998-11-19 22:48:39 #Fields: date time c-ip cs-username s-ip cs-method -
events
-
eventsList
-
fields
-
fieldList
-
-
Constructor Details
-
W3CAppender
public W3CAppender()
-
-
Method Details
-
setEvents
-
getEvents
-
setFields
-
getFields
-
doAppend
public void doAppend(ch.qos.logback.classic.spi.LoggingEvent event) - Specified by:
doAppend
in interfacech.qos.logback.core.Appender<ch.qos.logback.classic.spi.LoggingEvent>
- Overrides:
doAppend
in classch.qos.logback.core.UnsynchronizedAppenderBase<ch.qos.logback.classic.spi.LoggingEvent>
-