Re: log.info prints exceptios

2007-11-05 Thread Curt Arnold
On Nov 5, 2007, at 4:11 PM, Amnon Lahav wrote: when exceptions are thrown from within the info try catch they still get printed out in the info log and not in the warn , the wanr allso prints them but i don't want info.log to do it as well ? Could you clarify that sentence, I'm not su

Re: LOG4J - Different priority messages to different files

2007-11-05 Thread Jimmy Mehta
hey James, No prob but i just make some changes in Log4j.properties file and its working fine now, Appreciate your help Jimmy James A. N. Stauffer wrote: > > I don't use a properties config file but that looks correct to me. > > On 11/5/07, Jimmy Mehta <[EMAIL PROTECTED]> wrote: >> >> >> Hey

log.info prints exceptios

2007-11-05 Thread Amnon Lahav
Hi , i've configured a log per level info.log warn.log error.log and put them in the correct places (or so i tough) and for some reason info prints exceptions allso log4j.threshold=ALL log4j.rootLogger= INFO , InfoAppender, WarnAppender,ErrorAppender log4j.appender.InfoAppender=org.apache.log

Re: LOG4J - Different priority messages to different files

2007-11-05 Thread James A. N. Stauffer
I don't use a properties config file but that looks correct to me. On 11/5/07, Jimmy Mehta <[EMAIL PROTECTED]> wrote: > > > Hey James, > > Thank you so much and i appreciate your help , i ma playing with > log4j.properties file i didnt touch JAVA file but now i am able to get job > messages to dif

Re: LOG4J - Different priority messages to different files

2007-11-05 Thread Jimmy Mehta
Hey James, Thank you so much and i appreciate your help , i ma playing with log4j.properties file i didnt touch JAVA file but now i am able to get job messages to diffrent file and org to different file but now i a facing problem is that i am not able to set priority properly ,if i am setting pri

Re: LOG4J - Different priority messages to different files

2007-11-05 Thread James A. N. Stauffer
http://logging.apache.org/log4j/1.2/manual.html shows an example for the logger "com.foo": *log4j.logger.com.foo=WARN* On 11/5/07, Jimmy Mehta <[EMAIL PROTECTED]> wrote: > > > Hey James, > > Thank you so much for your mail...i get your suggestion but i am still not > sure how to attach appender

Re: LOG4J - Different priority messages to different files

2007-11-05 Thread Jimmy Mehta
Hey James, Thank you so much for your mail...i get your suggestion but i am still not sure how to attach appender to the Job package or user Package or Address Package because i know this thing that we can attach appender to the root category as per example log4j.rootCategory= console. but how s

Re: FileAppender location question

2007-11-05 Thread Bender Heri
In eclipse you can set the working dir in the launch configurations second page "Arguments". Heri > -Original Message- > From: mbraunwart [mailto:[EMAIL PROTECTED] > Sent: Friday, November 02, 2007 8:07 PM > To: log4j-user@logging.apache.org > Subject: [SPAM (Bayesain Analysis)] - Re: Fil