public interface ErrorLogPublisherCfg extends LogPublisherCfg
Error Log Publishers are responsible for distributing error log messages from the error logger to a destination.
Modifier and Type | Method and Description |
---|---|
void |
addErrorChangeListener(ConfigurationChangeListener<ErrorLogPublisherCfg> listener)
Register to be notified when this Error Log Publisher is changed.
|
Class<? extends ErrorLogPublisherCfg> |
configurationClass()
Gets the configuration class associated with this Error Log Publisher.
|
SortedSet<ErrorLogPublisherCfgDefn.DefaultSeverity> |
getDefaultSeverity()
Gets the "default-severity" property.
|
String |
getJavaClass()
Gets the "java-class" property.
|
SortedSet<String> |
getOverrideSeverity()
Gets the "override-severity" property.
|
void |
removeErrorChangeListener(ConfigurationChangeListener<ErrorLogPublisherCfg> listener)
Deregister an existing Error Log Publisher configuration change listener.
|
addChangeListener, isEnabled, removeChangeListener
dn
Class<? extends ErrorLogPublisherCfg> configurationClass()
configurationClass
in interface Configuration
configurationClass
in interface LogPublisherCfg
void addErrorChangeListener(ConfigurationChangeListener<ErrorLogPublisherCfg> listener)
listener
- The Error Log Publisher configuration change listener.void removeErrorChangeListener(ConfigurationChangeListener<ErrorLogPublisherCfg> listener)
listener
- The Error Log Publisher configuration change listener.SortedSet<ErrorLogPublisherCfgDefn.DefaultSeverity> getDefaultSeverity()
Specifies the default severity levels for the logger.
String getJavaClass()
The fully-qualified name of the Java class that provides the Error Log Publisher implementation.
getJavaClass
in interface LogPublisherCfg
SortedSet<String> getOverrideSeverity()
Specifies the override severity levels for the logger based on the category of the messages.
Each override severity level should include the category and the severity levels to log for that category, for example, core=error,info,warning. Valid categories are: core, extensions, protocol, config, log, util, schema, plugin, jeb, backend, tools, task, access-control, admin, sync, version, quicksetup, admin-tool, dsconfig, user-defined. Valid severities are: all, error, info, warning, notice, debug.
Copyright 2010-2017 ForgeRock AS.