dcsimg
Inconistancy in writing into log files
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Mohan_Namadhari
Posted On:   Tuesday, February 18, 2003 05:52 AM

I m writing logs into three different log files (i.e. Debug, error and info). I am facing consistancy problem in writing to these files. All the time I run the code, log is writiing into debug file, but writing log into other files sometimes doesn't happen(inconsistant). same code sometimes writes into all the log files as expected. But this is not consistant. What would be wrong in my code?

Is it log4j version problem??

Re: Inconistancy in writing into log files

Posted By:   avani_gandhi  
Posted On:   Monday, February 24, 2003 01:37 AM

I was getting the same problem. It must be most probably due to asynchronous logging. Try not using asynchronous appenders, directly give the file names as below in your configuration file :e.g. form my .xml file.











Re: Inconistancy in writing into log files

Posted By:   Benoit_Quintin  
Posted On:   Tuesday, February 18, 2003 06:10 AM

What are the appenders configured? Any of them async?
About | Sitemap | Contact