public class LazyRollingFileLogbackAppender<E>
extends ch.qos.logback.core.rolling.RollingFileAppender<E>
RollingFileAppender implementation that supports lazy initialization of appender. It is useful
for example when appender should be used only when
condition is satisfied. This feature is
not supported by default.LazyFileOutputStream| Constructor and Description |
|---|
LazyRollingFileLogbackAppender() |
| Modifier and Type | Method and Description |
|---|---|
void |
openFile(String file_name) |
getFile, getRollingPolicy, getTriggeringPolicy, rollover, setFile, setRollingPolicy, setTriggeringPolicy, start, stop, subAppendaddErrorForCollision, checkForFileCollisionInPreviousFileAppenders, isAppend, isPrudent, rawFileProperty, setAppend, setPrudent, writeOutappend, closeOutputStream, getEncoder, getOutputStream, setEncoder, setLayout, setOutputStreamaddFilter, clearAllFilters, doAppend, getCopyOfAttachedFiltersList, getFilterChainDecision, getName, isStarted, setName, toStringaddError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContextpublic void openFile(String file_name) throws IOException
openFile in class ch.qos.logback.core.FileAppender<E>IOExceptionCopyright © 2018 Pivotal Software, Inc.. All rights reserved.