Interface ErrorLogPublisherCfgClient

    • Method Detail

      • getDefaultSeverity

        SortedSet<ErrorLogPublisherCfgDefn.DefaultSeverity> getDefaultSeverity()
        Gets the "default-severity" property.

        Specifies the default severity levels for the logger.

        Returns:
        Returns the values of the "default-severity" property.
      • getJavaClass

        String getJavaClass()
        Gets the "java-class" property.

        The fully-qualified name of the Java class that provides the Error Log Publisher implementation.

        Specified by:
        getJavaClass in interface LogPublisherCfgClient
        Returns:
        Returns the value of the "java-class" property.
      • setJavaClass

        void setJavaClass​(String value)
                   throws PropertyException
        Sets the "java-class" property.

        The fully-qualified name of the Java class that provides the Error Log Publisher implementation.

        Specified by:
        setJavaClass in interface LogPublisherCfgClient
        Parameters:
        value - The value of the "java-class" property.
        Throws:
        PropertyException - If the new value is invalid.
      • getOverrideSeverity

        SortedSet<String> getOverrideSeverity()
        Gets the "override-severity" property.

        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.

        Returns:
        Returns the values of the "override-severity" property.
      • setOverrideSeverity

        void setOverrideSeverity​(Collection<String> values)
                          throws PropertyException
        Sets the "override-severity" property.

        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.

        Parameters:
        values - The values of the "override-severity" property.
        Throws:
        PropertyException - If one or more of the new values are invalid.