public interface ErrorLogPublisherCfgClient extends LogPublisherCfgClient
Error Log Publishers are responsible for distributing error log messages from the error logger to a destination.
Modifier and Type | Method and Description |
---|---|
ManagedObjectDefinition<? extends ErrorLogPublisherCfgClient,? extends ErrorLogPublisherCfg> |
definition()
Get the configuration definition 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 |
setDefaultSeverity(Collection<ErrorLogPublisherCfgDefn.DefaultSeverity> values)
Sets the "default-severity" property.
|
void |
setJavaClass(String value)
Sets the "java-class" property.
|
void |
setOverrideSeverity(Collection<String> values)
Sets the "override-severity" property.
|
isEnabled, setEnabled
commit, properties
ManagedObjectDefinition<? extends ErrorLogPublisherCfgClient,? extends ErrorLogPublisherCfg> definition()
definition
in interface ConfigurationClient
definition
in interface LogPublisherCfgClient
SortedSet<ErrorLogPublisherCfgDefn.DefaultSeverity> getDefaultSeverity()
Specifies the default severity levels for the logger.
void setDefaultSeverity(Collection<ErrorLogPublisherCfgDefn.DefaultSeverity> values) throws PropertyException
Specifies the default severity levels for the logger.
values
- The values of the "default-severity" property.PropertyException
- If one or more of the new values are invalid.String getJavaClass()
The fully-qualified name of the Java class that provides the Error Log Publisher implementation.
getJavaClass
in interface LogPublisherCfgClient
void setJavaClass(String value) throws PropertyException
The fully-qualified name of the Java class that provides the Error Log Publisher implementation.
setJavaClass
in interface LogPublisherCfgClient
value
- The value of the "java-class" property.PropertyException
- If the new value is invalid.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.
void setOverrideSeverity(Collection<String> values) throws PropertyException
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.
values
- The values of the "override-severity" property.PropertyException
- If one or more of the new values are invalid.Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.