Logfile Flushing Delay

2006-05-09 Thread Philip Georgiev
Hi, I am having problems with the file flushing in log4j. When something is logged, it appears into the log file only when the server (in my case Tomcat 5.5.7) is restarted. I am developing a web app using NetBeans and I need to see the new entries in the log files immeadiately (for the

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

log4j -log file naming

2006-05-09 Thread chetan . v . minajagi
Hi, I am using log4j.I have created a wrapper factory around log4j so that each module in my application gets a reference to its own logger(with own destination,pattern/formatting etc). Now the problem, I have threads running in my module.The no of threads are configurable(by tweaking an xml