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

ookeeper.zookeeper-cli.1.6.1.source-code.logback-enabled.xml Maven / Gradle / Ivy

The newest version!
<!--
Copyright 2022 David Edwards

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->

<!--
A log configuration that routes ZooKeeper messages to an external file.

This file is used for CLI-friendly configuration of the Logback library.

The `zk.log` and `zk.level` properties must be explicitly initialized.
-->

<configuration>
    <appender name="OUT" class="ch.qos.logback.core.FileAppender">
        <file>${zk.log}</file>
        <encoder>
            <pattern>%d{ISO8601} [myid:%X{myid}] - %-5p [%t:%C{1}@%L] - %m%n</pattern>
        </encoder>
        <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
            <level>${zk.level}</level>
        </filter>
    </appender>
    <root>
        <appender-ref ref="OUT"/>
    </root>
</configuration>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy