oups it looks to be a log4j 1.2 based branch.
sorry for noise.

2012/12/12 Olivier Lamy <ol...@apache.org>:
> note you must use %p{WARN=WARNING}
> by default as slf4j-simple, log4j2 use WARN instead of WARNING.
> It's just to prevent change in log output (and help it to pass as
> there is an it which use the WARNING to verify logs content).
> log4j2 community add this feature recently as I was complaining :-)
> (https://issues.apache.org/jira/browse/LOG4J2-105)
>
> 2012/12/12  <steph...@apache.org>:
>> 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.conno...@gmail.com>
>> Authored: Wed Dec 12 10:02:13 2012 +0000
>> Committer: Stephen Connolly <stephen.alan.conno...@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>
>>
>
>
>
> --
> Olivier Lamy
> Talend: http://coders.talend.com
> http://twitter.com/olamy | http://linkedin.com/in/olamy



-- 
Olivier Lamy
Talend: http://coders.talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to