Hi,
  In my earlier mail, I did not give enough information.
 Actually I have my own logging mechanism, just I need to rollover that log  file 
depending on certain criteria, for that I'm using DailyRollingFileAppender, 


MyLogger errLogger = new MyLogger(errFilePath); //errorFilePath=/abc/error.log  

Here MyLogger extends Logger, and I'm adding appender to this MyLogger,

DailyRollingFileAppender appender = errLogger.getAppender(errorFilePath);
errLogger.addAppende(appender); //this point its throwing null pointer exception

First  of all can we do like this?

Thanks,
Anand



---------------------------------
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup

Reply via email to