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

ght.netconf.netconf-testtool.4.0.9.source-code.logback.xml Maven / Gradle / Ivy

<?xml version="1.0" encoding="UTF-8" ?>
<!--
  ~ Copyright (c) 2015 Cisco Systems, Inc. and others.  All rights reserved.
  ~
  ~ This program and the accompanying materials are made available under the
  ~ terms of the Eclipse Public License v1.0 which accompanies this distribution,
  ~ and is available at http://www.eclipse.org/legal/epl-v10.html
  -->

<configuration>
    <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
        <encoder>
            <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
        </encoder>
    </appender>

    <root level="INFO">
        <appender-ref ref="STDOUT"/>
    </root>

    <if condition='property("log_file_name").contains("scale-util.log")'>
        <then>
            <appender name="RESULTS-FILE" class="ch.qos.logback.core.FileAppender">
                <file>${log_file_name}</file>
                <append>true</append>
                <encoder>
                    <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
                </encoder>
            </appender>

            <logger name="results" level="DEBUG" additivity="false">
                <appender-ref ref="RESULTS-FILE"/>
            </logger>
        </then>
    </if>

    <logger name="com.ning.http.client" level="WARN"/>
</configuration>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy