Class BrokerLogbackSocketLoggerImpl
- java.lang.Object
-
- org.apache.qpid.server.model.AbstractConfiguredObject<X>
-
- org.apache.qpid.server.logging.logback.AbstractLogger<X>
-
- org.apache.qpid.server.logging.logback.AbstractBrokerLogger<BrokerLogbackSocketLoggerImpl>
-
- org.apache.qpid.server.logging.logback.BrokerLogbackSocketLoggerImpl
-
- All Implemented Interfaces:
BrokerLogbackSocketLogger<BrokerLogbackSocketLoggerImpl>,BrokerLogger<BrokerLogbackSocketLoggerImpl>,ConfiguredObject<BrokerLogbackSocketLoggerImpl>,ContextProvider,PermissionedObject,TaskExecutorProvider
public class BrokerLogbackSocketLoggerImpl extends AbstractBrokerLogger<BrokerLogbackSocketLoggerImpl> implements BrokerLogbackSocketLogger<BrokerLogbackSocketLoggerImpl>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.qpid.server.model.AbstractConfiguredObject
AbstractConfiguredObject.CallableWithArgument<V extends Object,A extends Object>, AbstractConfiguredObject.ChainedListenableFuture<V extends Object>, AbstractConfiguredObject.ChainedSettableFuture<V extends Object>, AbstractConfiguredObject.DuplicateIdException, AbstractConfiguredObject.DuplicateNameException
-
-
Field Summary
-
Fields inherited from class org.apache.qpid.server.model.AbstractConfiguredObject
SECURED_STRING_VALUE
-
Fields inherited from interface org.apache.qpid.server.logging.logback.BrokerLogbackSocketLogger
CONTEXT_PROPERTIES, INCLUDE_CALLER_DATA, MAPPED_DIAGNOSTIC_CONTEXT, PORT, RECONNECTION_DELAY, REMOTE_HOST, TYPE
-
Fields inherited from interface org.apache.qpid.server.model.ConfiguredObject
AWAIT_ATTAINMENT_TIMEOUT, CONTEXT, CREATED_BY, CREATED_TIME, DEFAULT_AWAIT_ATTAINMENT_TIMEOUT, DESCRIPTION, DESIRED_STATE, DURABLE, ID, LAST_UPDATED_BY, LAST_UPDATED_TIME, LIFETIME_POLICY, NAME, OVER_SIZED_ATTRIBUTE_ALTERNATIVE_TEXT, STATE, TYPE
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBrokerLogbackSocketLoggerImpl(Map<String,Object> attributes, Broker<?> broker)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ch.qos.logback.core.Appender<ch.qos.logback.classic.spi.ILoggingEvent>createAppenderInstance(ch.qos.logback.core.Context loggerContext)Map<String,String>getContextProperties()booleangetIncludeCallerData()Map<String,String>getMappedDiagnosticContext()intgetPort()longgetReconnectionDelay()StringgetRemoteHost()voidstopLogging()-
Methods inherited from class org.apache.qpid.server.logging.logback.AbstractBrokerLogger
getLogInclusionRules, isVirtualHostLogEventExcluded, onResolve
-
Methods inherited from class org.apache.qpid.server.logging.logback.AbstractLogger
addLogInclusionRule, getAppender, getErrorCount, getSupportedBrokerLoggerChildTypes, getSupportedVirtualHostLoggerChildTypes, getWarnCount, onDelete, postResolveChildren, removeLogInclusionRule, resetStatistics
-
Methods inherited from class org.apache.qpid.server.model.AbstractConfiguredObject
addChangeListener, addChildAsync, addFutureCallback, applyToChildren, asObjectRecord, attainState, attributesAsString, attributeSet, authorise, authorise, authorise, authoriseCreateChild, awaitChildClassToAttainState, awaitChildClassToAttainState, beforeClose, beforeDelete, changeAttributes, childAdded, childRemoved, close, closeAsync, closeChildren, create, createAsync, createChild, createChildAsync, decryptSecrets, delete, deleteAsync, deleteChildren, deleteNoChecks, doAfter, doAfter, doAfter, doAfter, doAfter, doAfter, doAfterAlways, doAfterAlways, doCreation, doOnConfigThread, doOpening, doResolution, doSync, doSync, doValidation, findConfiguredObject, forceUpdateAllSecureAttributes, getAccessControl, getActualAttributes, getAncestor, 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, getStatistics, getSubjectWithAddedSystemRights, getSystemPrincipal, getSystemTaskControllerContext, getSystemTaskSubject, getSystemTaskSubject, getTaskExecutor, getType, getTypeClass, getUserPreferences, handleExceptionOnOpen, hasEncrypter, isDurable, isSystemProcess, isSystemSubject, logCreated, logDeleted, logOperation, logRecovered, logUpdated, managesChildStorage, newToken, notifyStateChanged, onClose, onCreate, onExceptionInOpen, onOpen, onValidate, open, openAsync, postResolve, postSetAttributes, registerWithParents, removeChangeListener, removeContextVariable, rethrowRuntimeExceptionsOnOpen, runTask, setAttributes, setAttributesAsync, setContextVariable, setEncrypter, setState, setUserPreferences, start, startAsync, stop, toString, updateModel, validateChange, validateChildDelete, validateOnCreate
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.qpid.server.model.BrokerLogger
getErrorCount, getWarnCount, isVirtualHostLogEventExcluded, resetStatistics
-
Methods inherited from interface org.apache.qpid.server.model.ConfiguredObject
addChangeListener, asObjectRecord, authorise, authorise, authorise, close, closeAsync, createChild, createChildAsync, decryptSecrets, delete, deleteAsync, findConfiguredObject, getActualAttributes, getAttainedChildById, getAttainedChildByName, getAttribute, getAttributeNames, getCategoryClass, getChildById, getChildByName, getChildExecutor, getChildren, getContext, getCreatedBy, getCreatedTime, getDescription, getDesiredState, getId, getLastOpenedTime, getLastUpdatedBy, getLastUpdatedTime, getLifetimePolicy, getModel, getName, getObjectFactory, getParent, getState, getStatistics, getStatistics, getType, getTypeClass, getUserPreferences, hasEncrypter, isDurable, managesChildStorage, newToken, open, openAsync, removeChangeListener, removeContextVariable, setAttributes, setAttributesAsync, setContextVariable, setUserPreferences
-
Methods inherited from interface org.apache.qpid.server.model.ContextProvider
getContextKeys, getContextValue, getContextValue
-
Methods inherited from interface org.apache.qpid.server.model.TaskExecutorProvider
getTaskExecutor
-
-
-
-
Method Detail
-
getRemoteHost
public String getRemoteHost()
- Specified by:
getRemoteHostin interfaceBrokerLogbackSocketLogger<BrokerLogbackSocketLoggerImpl>
-
getPort
public int getPort()
- Specified by:
getPortin interfaceBrokerLogbackSocketLogger<BrokerLogbackSocketLoggerImpl>
-
getReconnectionDelay
public long getReconnectionDelay()
- Specified by:
getReconnectionDelayin interfaceBrokerLogbackSocketLogger<BrokerLogbackSocketLoggerImpl>
-
getIncludeCallerData
public boolean getIncludeCallerData()
- Specified by:
getIncludeCallerDatain interfaceBrokerLogbackSocketLogger<BrokerLogbackSocketLoggerImpl>
-
getMappedDiagnosticContext
public Map<String,String> getMappedDiagnosticContext()
- Specified by:
getMappedDiagnosticContextin interfaceBrokerLogbackSocketLogger<BrokerLogbackSocketLoggerImpl>
-
getContextProperties
public Map<String,String> getContextProperties()
- Specified by:
getContextPropertiesin interfaceBrokerLogbackSocketLogger<BrokerLogbackSocketLoggerImpl>
-
createAppenderInstance
protected ch.qos.logback.core.Appender<ch.qos.logback.classic.spi.ILoggingEvent> createAppenderInstance(ch.qos.logback.core.Context loggerContext)
- Specified by:
createAppenderInstancein classAbstractLogger<BrokerLogbackSocketLoggerImpl>
-
stopLogging
public void stopLogging()
- Specified by:
stopLoggingin interfaceBrokerLogger<BrokerLogbackSocketLoggerImpl>- Overrides:
stopLoggingin classAbstractLogger<BrokerLogbackSocketLoggerImpl>
-
-