Re: Defining fileappender in log4j.xml

2006-05-09 Thread Norbert Toth-Gati
Just simply use: Regards, Norbert On 5/9/06, ks <[EMAIL PROTECTED]> wrote: I use log4j.xml to log to file as bellow. How can I log to a file in a directory called "folder" which is a sublevel below default. The below code only create a file called "folder.workshop_test.log" and not creatin

RE: Defining fileappender in log4j.xml

2006-05-09 Thread Bender Heri
should do the trick (slash instead of '.'). Log4j does not create folders if they do not exist. So must assure this folder exists before initializing log4j. Heri > -Original Message- > From: news [mailto:[EMAIL PROTECTED] Behalf Of ks > Sent: Tuesday, May 09, 2006 3:42 PM > To: log4j