Duplicate logs in oak run indexing output
Reverting logging changes done for
~ 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>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<target>System.out</target>
<encoder>
- <pattern>%d %-5level [%thread] %logger{30} %marker- %msg %n</pattern>
+ <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="index" />
- </logger>
- <logger name="org.apache.jackrabbit.oak.plugins.index.AsyncIndexUpdate" level="DEBUG">
- <appender-ref ref="index" />
+ <appender-ref ref="STDOUT" />
</logger>
<logger name="org.apache.jackrabbit.oak.plugins.index.importer" level="INFO">
- <appender-ref ref="index" />
+ <appender-ref ref="STDOUT" />
</logger>
<logger name="org.apache.jackrabbit.oak.plugins.index.IndexUpdate" level="INFO">
- <appender-ref ref="index" />
+ <appender-ref ref="STDOUT" />
</logger>
<logger name="org.apache.jackrabbit.oak.plugins.index.progress" level="INFO">
- <appender-ref ref="index" />
+ <appender-ref ref="STDOUT" />
</logger>
<root level="INFO">
