maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aherit...@apache.org
Subject [1/50] git commit: Cleanup configuration
Date Sat, 01 Dec 2012 14:50:01 GMT
Updated Branches:
  refs/heads/feature/colorized-console/log4j2 [created] 0f71ae559


Cleanup configuration


Project: http://git-wip-us.apache.org/repos/asf/maven/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/0f71ae55
Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/0f71ae55
Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/0f71ae55

Branch: refs/heads/feature/colorized-console/log4j2
Commit: 0f71ae559e19aa3eb5e4f5c981d9e20e63cc2e3e
Parents: ba5e00a
Author: Arnaud Héritier <aheritier@exoplatform.com>
Authored: Sat Dec 1 15:48:27 2012 +0100
Committer: Arnaud Héritier <aheritier@exoplatform.com>
Committed: Sat Dec 1 15:48:27 2012 +0100

----------------------------------------------------------------------
 apache-maven/src/conf/logging/log4j2.xml |   19 +++++++++++--------
 1 files changed, 11 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven/blob/0f71ae55/apache-maven/src/conf/logging/log4j2.xml
----------------------------------------------------------------------
diff --git a/apache-maven/src/conf/logging/log4j2.xml b/apache-maven/src/conf/logging/log4j2.xml
index 367122f..b36ca25 100644
--- a/apache-maven/src/conf/logging/log4j2.xml
+++ b/apache-maven/src/conf/logging/log4j2.xml
@@ -28,34 +28,37 @@
   <appenders>
     <Console name="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{} [%p] %msg%n%throwable}{FATAL=white, ERROR=red,
WARN=blue, INFO=black, DEBUG=green, TRACE=blue}" />
+      <PatternLayout pattern="%highlight{[%p] %msg%n%throwable}{INFO=white}" />
     </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{} [%p] %msg%n%throwable}{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"/>
 
-    <logger name="maven.maven-clean-plugin" level="debug" additivity="false">
+    <!-- to debug plugins -->
+    <!--
+    <logger name="org.apache.maven.plugins.enforcer" level="debug" additivity="false">
       <appender-ref ref="debug-console"/>
     </logger>
-
-    <logger name="maven.maven-compiler-plugin" level="debug" additivity="false">
+    <logger name="org.apache.maven.plugin.compiler" level="debug" additivity="false">
       <appender-ref ref="debug-console"/>
     </logger>
-
+    <logger name="org.apache.maven.plugin.clean" level="debug" additivity="false">
+      <appender-ref ref="debug-console"/>
+    </logger>
+    -->
     <logger name="consoleTransfer" level="info" additivity="false">
       <appender-ref ref="console-transfer"/>
     </logger>
-
     <root level="${sys:maven.logging.root.level}">
       <appender-ref ref="console"/>
     </root>
   </loggers>
-</configuration>
\ No newline at end of file
+</configuration>


Mime
View raw message