Re: Setting up log4j.xml

2006-12-05 Thread chuanjiang lo
On 12/6/06, Jacob Kjome <[EMAIL PROTECTED]> wrote: Bender, You are correct in your latest analysis, but incorrect on your original analysis. Chuanjiang's original XML file was just fine and the fact that he increased the level to "error" should have made it so that only ERROR messages would p

RE: Setting up log4j.xml

2006-12-05 Thread Jacob Kjome
er outputs the event. > > Heri > > > -Original Message- > > From: chuanjiang lo [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, December 05, 2006 12:30 PM > > To: Log4J Users List > > Subject: Re: Setting up log4j.xml > > > > > > On 12/5/0

RE: Setting up log4j.xml

2006-12-05 Thread Bender Heri
essage- > From: chuanjiang lo [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 05, 2006 12:30 PM > To: Log4J Users List > Subject: Re: Setting up log4j.xml > > > On 12/5/06, Bender Heri <[EMAIL PROTECTED]> wrote: > > > > Log events which are sent to a spe

Re: Setting up log4j.xml

2006-12-05 Thread chuanjiang lo
On 12/5/06, Bender Heri <[EMAIL PROTECTED]> wrote: Log events which are sent to a specialized Logger (=not Root Logger) will by default climb up the logger hierarchy until the root logger and serve every appender of every logger found on its way. Your example: a log event sent to logger named "l

Re: Setting up log4j.xml

2006-12-05 Thread Bender Heri
e. This will prevent the log event to climb further up the hierarchy. Heri > -Original Message- > From: chuanjiang lo [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 05, 2006 7:59 AM > To: Log4J Users List > Subject: [SPAM (Bayesa

Re: Setting up log4j.xml

2006-12-04 Thread chuanjiang lo
i'm having this config.. i would like to print out error and fatal msgs in the Main class of loggingexample package, how come it is still printing debug level and above msgs? appreciate any help

Re: Setting up log4j.xml

2006-12-03 Thread chuanjiang lo
On 12/3/06, James Stauffer <[EMAIL PROTECTED]> wrote: Set a threshold on info appender and send root logs to both appenders. i found this great example on the net http://wiki.apache.org/logging-log4j/LogByLevel appreciate your help!

Re: Setting up log4j.xml

2006-12-02 Thread James Stauffer
Set a threshold on info appender and send root logs to both appenders. On 12/2/06, chuanjiang lo <[EMAIL PROTECTED]> wrote: Hi all, I would like to know how i can set up my log4j.xml, for e.g info level would be printed onto the console where debug level would be log into a file. These are the