public class VirtualHostFileLoggerImpl extends AbstractVirtualHostLogger<VirtualHostFileLoggerImpl> implements VirtualHostFileLogger<VirtualHostFileLoggerImpl>, FileLoggerSettings
AbstractConfiguredObject.CallableWithArgument<V,A>, AbstractConfiguredObject.ChainedListenableFuture<V>, AbstractConfiguredObject.ChainedSettableFuture<V>, AbstractConfiguredObject.DuplicateIdException, AbstractConfiguredObject.DuplicateNameExceptionSECURED_STRING_VALUEFILE_NAME, MAX_FILE_SIZE, TYPECONTEXT, CREATED_BY, CREATED_TIME, DESCRIPTION, DESIRED_STATE, DURABLE, ID, LAST_UPDATED_BY, LAST_UPDATED_TIME, LIFETIME_POLICY, NAME, OVER_SIZED_ATTRIBUTE_ALTERNATIVE_TEXT, STATE| Modifier | Constructor and Description |
|---|---|
protected |
VirtualHostFileLoggerImpl(Map<String,Object> attributes,
VirtualHost<?,?,?> virtualHost) |
| Modifier and Type | Method and Description |
|---|---|
protected ch.qos.logback.core.Appender<ch.qos.logback.classic.spi.ILoggingEvent> |
createAppenderInstance(ch.qos.logback.core.Context loggerContext) |
Content |
getAllFiles() |
ScheduledExecutorService |
getExecutorService() |
Content |
getFile(String fileName) |
String |
getFileName() |
Content |
getFiles(Set<String> fileName) |
String |
getLayout() |
List<LogFileDetails> |
getLogFiles() |
int |
getMaxFileSize() |
int |
getMaxHistory() |
RollingPolicyDecorator.RolloverListener |
getRolloverListener() |
boolean |
isCompressOldFiles() |
boolean |
isRollDaily() |
boolean |
isRollOnRestart() |
protected void |
postResolveChildren() |
void |
stopLogging() |
protected void |
validateChange(ConfiguredObject<?> proxyForValidation,
Set<String> changedAttributes) |
getLogInclusionRules, onResolveaddChildAsync, addLogInclusionRule, getErrorCount, getWarnCount, removeLogInclusionRuleaddChangeListener, applyToChildren, asObjectRecord, attainState, attributeSet, authoriseCreate, authoriseCreateChild, authoriseDelete, authoriseSetAttributes, beforeClose, changeAttribute, changeAttributes, childAdded, childRemoved, close, closeAsync, closeChildren, create, createAsync, createChild, createChildAsync, decryptSecrets, delete, deleteAsync, deleted, doAfter, doAfter, doAfter, doAfter, doAfter, doAfter, doAfterAlways, doAfterAlways, doCreation, doOnConfigThread, doOpening, doResolution, doSync, doSync, doValidation, findConfiguredObject, forceUpdateAllSecureAttributes, getActualAttributes, getAttainedChildById, getAttainedChildByName, getAttribute, getAttributeNames, getCategoryClass, getChildById, getChildByName, getChildExecutor, getChildren, getContext, getContextKeys, getContextValue, getContextValue, getCreatedBy, getCreatedTime, getDescription, getDesiredState, getId, getLastOpenedTime, getLastUpdatedBy, getLastUpdatedTime, getLifetimePolicy, getModel, getName, getObjectFactory, getParent, getSecurityManager, getState, getStatistics, getTaskExecutor, getType, getTypeClass, handleExceptionOnOpen, isDurable, managesChildStorage, notifyStateChanged, onClose, onCreate, onExceptionInOpen, onOpen, onValidate, open, openAsync, parentsMap, postResolve, registerWithParents, removeChangeListener, rethrowRuntimeExceptionsOnOpen, runTask, setAttribute, setAttributes, setAttributesAsync, setEncrypter, setState, start, startAsync, stop, toString, validateOnCreateclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetErrorCount, getWarnCountaddChangeListener, asObjectRecord, close, closeAsync, createChild, createChildAsync, decryptSecrets, delete, deleteAsync, findConfiguredObject, getActualAttributes, getAttainedChildById, getAttainedChildByName, getAttribute, getAttributeNames, getCategoryClass, getChildById, getChildByName, getChildExecutor, getChildren, getContext, getContextKeys, getContextValue, getContextValue, getCreatedBy, getCreatedTime, getDescription, getDesiredState, getId, getLastOpenedTime, getLastUpdatedBy, getLastUpdatedTime, getLifetimePolicy, getModel, getName, getObjectFactory, getParent, getState, getStatistics, getTaskExecutor, getType, getTypeClass, isDurable, managesChildStorage, open, openAsync, removeChangeListener, setAttribute, setAttributes, setAttributesAsyncprotected VirtualHostFileLoggerImpl(Map<String,Object> attributes, VirtualHost<?,?,?> virtualHost)
protected void postResolveChildren()
postResolveChildren in class AbstractLogger<VirtualHostFileLoggerImpl>protected void validateChange(ConfiguredObject<?> proxyForValidation, Set<String> changedAttributes)
validateChange in class AbstractConfiguredObject<VirtualHostFileLoggerImpl>public String getFileName()
getFileName in interface FileLoggerSettingsgetFileName in interface VirtualHostFileLogger<VirtualHostFileLoggerImpl>public boolean isRollDaily()
isRollDaily in interface FileLoggerSettingsisRollDaily in interface VirtualHostFileLogger<VirtualHostFileLoggerImpl>public boolean isRollOnRestart()
isRollOnRestart in interface FileLoggerSettingsisRollOnRestart in interface VirtualHostFileLogger<VirtualHostFileLoggerImpl>public boolean isCompressOldFiles()
isCompressOldFiles in interface FileLoggerSettingsisCompressOldFiles in interface VirtualHostFileLogger<VirtualHostFileLoggerImpl>public int getMaxHistory()
getMaxHistory in interface FileLoggerSettingsgetMaxHistory in interface VirtualHostFileLogger<VirtualHostFileLoggerImpl>public int getMaxFileSize()
getMaxFileSize in interface FileLoggerSettingsgetMaxFileSize in interface VirtualHostFileLogger<VirtualHostFileLoggerImpl>public String getLayout()
getLayout in interface FileLoggerSettingsgetLayout in interface VirtualHostFileLogger<VirtualHostFileLoggerImpl>public List<LogFileDetails> getLogFiles()
getLogFiles in interface VirtualHostFileLogger<VirtualHostFileLoggerImpl>public Content getFile(String fileName)
getFile in interface VirtualHostFileLogger<VirtualHostFileLoggerImpl>public Content getFiles(Set<String> fileName)
getFiles in interface VirtualHostFileLogger<VirtualHostFileLoggerImpl>public Content getAllFiles()
getAllFiles in interface VirtualHostFileLogger<VirtualHostFileLoggerImpl>public void stopLogging()
stopLogging in interface VirtualHostLogger<VirtualHostFileLoggerImpl>stopLogging in class AbstractLogger<VirtualHostFileLoggerImpl>public RollingPolicyDecorator.RolloverListener getRolloverListener()
getRolloverListener in interface FileLoggerSettingspublic ScheduledExecutorService getExecutorService()
getExecutorService in interface FileLoggerSettingsprotected ch.qos.logback.core.Appender<ch.qos.logback.classic.spi.ILoggingEvent> createAppenderInstance(ch.qos.logback.core.Context loggerContext)
createAppenderInstance in class AbstractLogger<VirtualHostFileLoggerImpl>Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.