maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From steph...@apache.org
Subject git commit: Basic experiment with log4j 1.2.
Date Wed, 12 Dec 2012 10:02:43 GMT
Updated Branches:
  refs/heads/logging/slf4j-log4j [created] 262d644d4


Basic experiment with log4j 1.2.

- Should be the same as 7f9e280522379fc0f3ac09f4d81e8188cdb54192 only with log4j 1.2 as the
backing impl


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

Branch: refs/heads/logging/slf4j-log4j
Commit: 262d644d4d166040cbd4371c14ef6f720fe64345
Parents: c8536bf
Author: Stephen Connolly <stephen.alan.connolly@gmail.com>
Authored: Wed Dec 12 10:02:13 2012 +0000
Committer: Stephen Connolly <stephen.alan.connolly@gmail.com>
Committed: Wed Dec 12 10:02:13 2012 +0000

----------------------------------------------------------------------
 apache-maven/src/conf/logging/log4j.xml |   32 ++++++++++++++++++++++++++
 1 files changed, 32 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven/blob/262d644d/apache-maven/src/conf/logging/log4j.xml
----------------------------------------------------------------------
diff --git a/apache-maven/src/conf/logging/log4j.xml b/apache-maven/src/conf/logging/log4j.xml
new file mode 100644
index 0000000..d21c86e
--- /dev/null
+++ b/apache-maven/src/conf/logging/log4j.xml
@@ -0,0 +1,32 @@
+<?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.
+  -->
+
+<!DOCTYPE log4j:configuration PUBLIC "-//APACHE//DTD LOG4J 1.2//EN" "log4j.dtd">
+<log4j:configuration xmlns:log4j='http://jakarta.apache.org/log4j/'>
+  <appender name="console" class="org.apache.log4j.ConsoleAppender">
+    <layout class="org.apache.log4j.PatternLayout">
+      <param name="ConversionPattern" value="[%p] %m%n"/>
+    </layout>
+  </appender>
+    <root>
+      <priority value="INFO"/>
+      <appender-ref ref="console"/>
+    </root>
+</log4j:configuration>


Mime
View raw message