Re: All log4j appenders defined in log4j.properties in play

2014-07-11 Thread Jacob Kjome
First, your understanding is incorrect.  You can attach appenders to any logger, not just the root.  Second, there must be some other stray log4j config file being loaded, instead of this one, that logs to a file appender pointing at the same file as the one in this log4j.properties. I sugge

Re: All log4j appenders defined in log4j.properties in play

2014-07-11 Thread Matt Sicker
Check out the additivity setting. Plus, check out Log4j 2.0 as that's what we're all focused on right now! On 11 July 2014 01:01, Vishal Pore wrote: > My log4j.properties file is pasted below. My understanding is that we need > to add Appenders to the *root *logger for the appender to work. As

All log4j appenders defined in log4j.properties in play

2014-07-10 Thread Vishal Pore
My log4j.properties file is pasted below. My understanding is that we need to add Appenders to the *root *logger for the appender to work. As you can see in the below properties file, only appender A is attached to the root logger (log4j.rootLogger=info, A). However, what I see is that the logging