RE: Defining fileappender in log4j.xml

2006-05-09 Thread Bender Heri
param name=File value=folder/workshop_test.log / 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

Re: Defining fileappender in log4j.xml

2006-05-09 Thread Norbert Toth-Gati
Just simply use: param name=File value=folder/workshop_test.log / 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