<?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> <!--status="debug"-->

  <properties>
     <property name="maven.logging.root.level">INFO</property>
  </properties>

  <appenders>
    <Console name="console" target="SYSTEM_OUT">
      <PatternLayout pattern="[%p] %msg%n%throwable"/>
    </Console>
    <Console name="console-transfer" target="SYSTEM_OUT">
      <PatternLayout pattern="[%p{WARN=WARNING}] %msg"/>
    </Console>
    <Console name="debug-console" target="SYSTEM_OUT">
      <!--PatternLayout pattern="%highlight[%p{WARN=WARNING}] %msg%n{FATAL=white, ERROR=red, WARN=blue, INFO=black, DEBUG=green, TRACE=blue}"/-->
      <PatternLayout pattern="%highlight{%c{} %mdc{maven.pluginInfo} [%p] %msg%n%throwable}{INFO=white}" />
    </Console>
  </appenders>
  <loggers>

    <logger name="Sisu" level="info"/>

    <!-- to debug plugins -->
    <!--
    <logger name="org.apache.maven.plugins.enforcer" level="debug" additivity="false">
      <appender-ref ref="console"/>
    </logger>
    <logger name="org.apache.maven.plugin.compiler" level="debug" additivity="false">
      <appender-ref ref="console"/>
    </logger>
    <logger name="org.apache.maven.plugin.clean" level="debug" additivity="false">
      <appender-ref ref="console"/>
    </logger>
    -->
    <logger name="consoleTransfer" level="info" additivity="false">
      <appender-ref ref="console"/>
    </logger>
    <root level="${sys:maven.logging.root.level}">
      <appender-ref ref="console"/>
    </root>
  </loggers>
</configuration>
