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 <[EMA

Re: LOG4J - Different priority messages to different files

2007-11-05 Thread Jimmy Mehta
whats the problem? Jimmy James A. N. Stauffer wrote: > > 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: >> >>

Re: LOG4J - Different priority messages to different files

2007-11-05 Thread Jimmy Mehta
other appender to the Address and User > loggers. > > On 11/1/07, Jimmy Mehta <[EMAIL PROTECTED]> wrote: >> >> >> Hey James , >> >> Thanks for you reply now i find another way that , i have three classes >> Job >> , Address , User. Now i want

Re: LOG4J - Different priority messages to different files

2007-11-01 Thread Jimmy Mehta
, error and warn messages of Job class goes to one file and no any other class messages so how can i do it with Properties file?? Can you give me one sample code example so i can understand more clearly.. Appreciate ur help Jimmy Mehta James A. N. Stauffer wrote: > > I find that I want on

LOG4J - Different priority messages to different files

2007-10-31 Thread Jimmy Mehta
Hi, I am new to the LOG4J and i am trying to learn so i have a question that if i need to put different priority log messages to different log files. Suppose i want to put all warn messages to one file and all info messages to another file and all error messages to another file. My root priority