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

k-starter.0.3.1.source-code.logback.xml Maven / Gradle / Ivy

There is a newer version: 0.4.4
Show newest version
<configuration debug="true">

    <springProperty scope="context" name="logglgURL" source="bitcoco.jsk.operation.logging.url"/>
    <springProperty scope="context" name="logglgDomain" source="bitcoco.jsk.operation.logging.domain"/>

    <appender name="loggly" class="ch.qos.logback.ext.loggly.LogglyAppender">
        <endpointUrl>${logglgURL}</endpointUrl>
        <pattern>%d{"ISO8601", UTC} %p %t %c{0}.%M - %m%n</pattern>
    </appender>

    <appender name="Console"
              class="ch.qos.logback.core.ConsoleAppender">
        <layout class="ch.qos.logback.classic.PatternLayout">
            <Pattern>
                %black(%d{ISO8601}) %highlight(%-5level) [%blue(%t)] %yellow(%C{1.}): %msg%n%throwable
            </Pattern>
        </layout>
    </appender>

    <!-- LOG "com.auth*" at info level -->
    <logger name="${logglgDomain}" level="info">
        <appender-ref ref="loggly"/>
    </logger>

    <root level="info">
        <appender-ref ref="Console" />
    </root>



</configuration>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy