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

ckrabbit.oak-run-elastic.1.70.0.source-code.logback-indexing.xml Maven / Gradle / Ivy

There is a newer version: 1.68.0
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Licensed to the Apache Software Foundation (ASF) under one
  ~ or more contributor license agreements.  See the NOTICE file
  ~ distributed with this work for additional information
  ~ regarding copyright ownership.  The ASF licenses this file
  ~ to you 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.
  -->
<configuration scan="true" scanPeriod="1 second">

  <appender name="index" class="ch.qos.logback.core.FileAppender">
    <file>${oak.workDir}/indexing.log</file>
    <encoder>
      <pattern>%d %-5level [%thread] %logger{30} %marker- %msg %n</pattern>
    </encoder>
  </appender>

  <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
    <target>System.out</target>
    <encoder>
      <pattern>%d{HH:mm:ss} - %msg%n</pattern>
    </encoder>
  </appender>

  <!-- For index tooling -->
  <logger name="org.apache.jackrabbit.oak.index" level="INFO">
    <appender-ref ref="STDOUT" />
  </logger>
  <logger name="org.apache.jackrabbit.oak.plugins.index.importer" level="INFO">
    <appender-ref ref="STDOUT" />
  </logger>
  <logger name="org.apache.jackrabbit.oak.plugins.index.AsyncIndexUpdate" level="DEBUG">
    <appender-ref ref="index" />
  </logger>
  <logger name="org.apache.jackrabbit.oak.plugins.index.IndexUpdate" level="INFO">
    <appender-ref ref="STDOUT" />
  </logger>
  <logger name="org.apache.jackrabbit.oak.plugins.index.progress" level="INFO">
    <appender-ref ref="STDOUT" />
  </logger>

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

</configuration>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy