[infinispan-dev] configure log for a module

Mircea Markus mircea.markus at jboss.com
Wed Aug 12 13:22:46 EDT 2009


Thanks, my problem was that jdbc module didn't have a dependency on  
log4j, so default/jdk logging was used.

On Aug 12, 2009, at 8:01 PM, Manik Surtani wrote:

> Hmm, if you have dependencies on infinispan-core test, then it  
> should pick up src/test/resources/log4j.xml from the 'core' module.   
> But that's probably only if you are running tests in the root rather  
> than your specific module.
>
> If you want to run tests in your specific module, you could point to  
> the core log4j.xml (using a system property (if running in an IDE).   
> If running via Maven, you may just want top create src/test/ 
> resources/log4j.xml in the module in question.
>
>
> On 12 Aug 2009, at 17:06, Mircea Markus wrote:
>
>>
>> any idea how can I configure logging for an certain module? i.e.  
>> I'm in cachestore/jdbc and running mvn test - > which log4j.xml is  
>> used in this case.
>>
>> Cheers,
>> Mircea
>> _______________________________________________
>> infinispan-dev mailing list
>> infinispan-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>
> --
> Manik Surtani
> manik at jboss.org
> Lead, Infinispan
> Lead, JBoss Cache
> http://www.infinispan.org
> http://www.jbosscache.org
>
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/infinispan-dev/attachments/20090812/41937889/attachment-0002.html 


More information about the infinispan-dev mailing list