Hi, I have been trying to configure log4j for a while now. I want to create one file for errors (with DEBUG as the threshold) and one for INFO only. I have gone through the entire list and found a lot of threads on this but none have the appropriate answer. At the moment, I can create a separate file which can log INFO and anything more severe than INFO. But what if I want to log INFO alone? It seems you can do it using an XML config file. Does anyone have a sample XML config file and code snippet as to how to incorporate/initialize your logger from the XML file?
Please help. And thanks for any suggestions you may have. kB Sensima Ltd Salisbury, Wiltshire (M): 07786322655 -----Original Message----- From: Brendon Co [mailto:[EMAIL PROTECTED] Sent: 28 May 2003 02:38 To: Log4J Users List Subject: RE: [NEWBIE] log4j setup problem? Hi, i have this problem on log4j: "cant create xxx.log.2003-05-19".... why is this happening? By the way if i shutdown my tomcat for 2 days and start it again...why is that my logging wont generate the files: xxx.log.2003-05-26 xxx.log.2003-05-27 ???? Please help... Thanks, brendon --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.483 / Virus Database: 279 - Release Date: 5/19/2003 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]