User Community Service Desk Downloads
If you can't find the product or version you're looking for, visit support.ataccama.com/downloads

Logging Component

The Logging component enables customization of the logging settings in the server context. In addition, it lets you update the logging configuration from the ONE Runtime Server Admin without having to restart the server.

The component configuration consists of providing the path to the Logging Configuration configuration file in the configFile attribute. The path is relative to the location of the Server Configuration file or absolute.

If no logging configuration file is supplied, the default configuration is used: log records with the severity level INFO and higher are written to the console (standard output).

Sample Logging component configuration
<component class="com.ataccama.dqc.web.logging.LoggingComponent" configFile="logging.xml"/>
Default logging.xml configuration
<?xml version='1.0' encoding='UTF-8'?>
<loggingConfig>
    <appenders>
        <iLogAppenderFactory class="com.ataccama.dqc.commons.logging.factories.Slf4jLogAppenderFactory" name="slf4j"/>
    </appenders>
    <loggingRules>
        <!-- Redirect all logging to slf4j -->
        <loggingRule level="INFO" appender="slf4j">
            <trace/>
        </loggingRule>
    </loggingRules>
</loggingConfig>

Was this page useful?