[infinispan-dev] Committing Infinispan log4j.xml with TRACE

Jimmy Wilson jawilson at redhat.com
Wed Nov 11 16:11:15 EST 2009


Wouldn't svn:ignore be best as it prevents you from doing this regardless?

Jimmy

Manik Surtani wrote:
> Good idea, Galder.
> 
> On 11 Nov 2009, at 10:40, Sanne Grinovero wrote:
> 
>> nice trick! thanks for that.
>>
>> 2009/11/11 Galder Zamarreno <galder at redhat.com>:
>>> Hi,
>>>
>>> It seems like we've committed src/test/resources/log4j.xml with TRACE
>>> logging to Infinispan a couple of times already:
>>>
>>> http://fisheye.jboss.org/browse/Infinispan/trunk/core/src/test/resources/log4j.xml?r1=893&r2=1115
>>> http://fisheye.jboss.org/browse/Infinispan/trunk/core/src/test/resources/log4j.xml?r1=347&r2=891
>>>
>>> This is leaking to Infinispan binary distribution, so be careful about
>>> doing this. Personally, I never touch this file and instead pass my own
>>> log4j.xml to the tests via:
>>>
>>> -Dlog4j.configuration=file:/home/galder/jboss/others/logging/log4j/log4j-infinispan.xml
>>>
>>> That way I never run the risk of leaving the log4j in SVN with the wrong
>>> logging levels.
>>>
>>> Cheers,
>>> --
>>> Galder Zamarreño



More information about the infinispan-dev mailing list