All Downloads are FREE. Search and download functionalities are using the official Maven repository.

kage-toolkit-runtime.4.1.0.source-code.log4j2.xml Maven / Gradle / Ivy

There is a newer version: 3.1.2
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<!-- SPDX-License-Identifier: Apache-2.0 -->
<Configuration status="WARN">
    <Appenders>
        <Console name="ConsoleAppender" target="SYSTEM_OUT">
            <PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{2} - %msg%n"/>
        </Console>
        <OpenTelemetry name="OpenTelemetryAppender" numLogsCapturedBeforeOtelInstall="10000"/>
        <Routing name="Routing">
            <Routes pattern="$${sys:logDirectory}">
                <Route>
                    <File name="File" fileName="${sys:logDirectory:-logs}/debug.log" append="false">
                        <PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} trace_id: %X{trace_id} span_id: %X{span_id} trace_flags: %X{trace_flags} - %msg%n"/>
                    </File>
                </Route>
            </Routes>
        </Routing>
    </Appenders>
    <Loggers>
        <Root level="All">
            <AppenderRef ref="OpenTelemetryAppender"/>
            <AppenderRef ref="ConsoleAppender" level="INFO"/>
            <AppenderRef ref="Routing"/>
        </Root>
        <Logger name="com.atlan" level="DEBUG"/>
        <Logger name="software.amazon" level="INFO"/>
        <Logger name="org.apache" level="INFO"/>
    </Loggers>
</Configuration>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy