|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ErrorLogPublisherCfgClient
A client-side interface for reading and modifying Error Log Publisher settings.
Error Log Publishers are responsible for distributing error log messages from the error logger to a destination.
Method Summary | |
---|---|
ManagedObjectDefinition<? extends ErrorLogPublisherCfgClient,? extends ErrorLogPublisherCfg> |
definition()
Get the configuration definition associated with this Error Log Publisher. |
java.util.SortedSet<ErrorLogPublisherCfgDefn.DefaultSeverity> |
getDefaultSeverity()
Gets the "default-severity" property. |
java.lang.String |
getJavaClass()
Gets the "java-class" property. |
java.util.SortedSet<java.lang.String> |
getOverrideSeverity()
Gets the "override-severity" property. |
void |
setDefaultSeverity(java.util.Collection<ErrorLogPublisherCfgDefn.DefaultSeverity> values)
Sets the "default-severity" property. |
void |
setJavaClass(java.lang.String value)
Sets the "java-class" property. |
void |
setOverrideSeverity(java.util.Collection<java.lang.String> values)
Sets the "override-severity" property. |
Methods inherited from interface org.opends.server.admin.std.client.LogPublisherCfgClient |
---|
isEnabled, setEnabled |
Methods inherited from interface org.opends.server.admin.ConfigurationClient |
---|
commit, properties |
Method Detail |
---|
ManagedObjectDefinition<? extends ErrorLogPublisherCfgClient,? extends ErrorLogPublisherCfg> definition()
definition
in interface ConfigurationClient
definition
in interface LogPublisherCfgClient
java.util.SortedSet<ErrorLogPublisherCfgDefn.DefaultSeverity> getDefaultSeverity()
Specifies the default severity levels for the logger.
void setDefaultSeverity(java.util.Collection<ErrorLogPublisherCfgDefn.DefaultSeverity> values) throws IllegalPropertyValueException
Specifies the default severity levels for the logger.
values
- The values of the "default-severity" property.
IllegalPropertyValueException
- If one or more of the new values are invalid.java.lang.String getJavaClass()
The fully-qualified name of the Java class that provides the Error Log Publisher implementation.
void setJavaClass(java.lang.String value) throws IllegalPropertyValueException
The fully-qualified name of the Java class that provides the Error Log Publisher implementation.
value
- The value of the "java-class" property.
IllegalPropertyValueException
- If the new value is invalid.java.util.SortedSet<java.lang.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=mild-error,info,mild-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, fatal-error, info, mild-error, mild-warning, notice, severe-error, severe-warning, debug.
void setOverrideSeverity(java.util.Collection<java.lang.String> values) throws IllegalPropertyValueException
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=mild-error,info,mild-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, fatal-error, info, mild-error, mild-warning, notice, severe-error, severe-warning, debug.
values
- The values of the "override-severity" property.
IllegalPropertyValueException
- If one or more of the new values are invalid.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |