Updated Branches: refs/heads/slf4j-logback ed4b5bf98 -> 77d59af53
- adding two basic logback configurations. one for non-colour which is the default, and one for colour logging that serves as an example if someone wants to turn it on and customize it. Project: http://git-wip-us.apache.org/repos/asf/maven/repo Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/77d59af5 Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/77d59af5 Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/77d59af5 Branch: refs/heads/slf4j-logback Commit: 77d59af530dd5d3fdbf7adb624b492b73ca8fc37 Parents: ed4b5bf Author: Jason van Zyl <jvan...@apache.org> Authored: Sun Dec 9 21:38:33 2012 -0500 Committer: Jason van Zyl <jvan...@apache.org> Committed: Sun Dec 9 21:38:33 2012 -0500 ---------------------------------------------------------------------- apache-maven/src/conf/logging/logback-colour.xml | 17 +++++++++++++++++ apache-maven/src/conf/logging/logback.xml | 3 --- 2 files changed, 17 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/maven/blob/77d59af5/apache-maven/src/conf/logging/logback-colour.xml ---------------------------------------------------------------------- diff --git a/apache-maven/src/conf/logging/logback-colour.xml b/apache-maven/src/conf/logging/logback-colour.xml new file mode 100644 index 0000000..19b4f79 --- /dev/null +++ b/apache-maven/src/conf/logging/logback-colour.xml @@ -0,0 +1,17 @@ +<configuration> + <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> + <withJansi>true</withJansi> + <encoder> + <!-- + | + | If you wish to customize the coloured output you can refer + | to http://logback.qos.ch/manual/layouts.html#coloring + | + --> + <pattern>%highlight([%replace(%level){'WARN','WARNING'}]) %black(%msg) %n</pattern> + </encoder> + </appender> + <root level="INFO"> + <appender-ref ref="STDOUT" /> + </root> +</configuration> http://git-wip-us.apache.org/repos/asf/maven/blob/77d59af5/apache-maven/src/conf/logging/logback.xml ---------------------------------------------------------------------- diff --git a/apache-maven/src/conf/logging/logback.xml b/apache-maven/src/conf/logging/logback.xml index 37567f9..5ed60d0 100644 --- a/apache-maven/src/conf/logging/logback.xml +++ b/apache-maven/src/conf/logging/logback.xml @@ -2,9 +2,6 @@ <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <withJansi>true</withJansi> <encoder> - <!-- - <pattern>%highlight([%level]) %black(%msg) %n</pattern> - --> <pattern>[%replace(%level){'WARN','WARNING'}] %msg%n</pattern> </encoder> </appender>