Yourr best bet is probably to put log4j.properties in your classpath and let auto-configuration pick it up.
On 9/9/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hello! > > I just got this book and it looks very good and its easy to read. I am > pretty new to log4j and I started with your HelloWorld2 sample program... > but I tried to use my log4j.properties and found that each time when I > invoke HelloWorld2 I could see that it is configuring log4j using my > log4j.properties file( (since I had given log4j.debug=true, I could see > that happening ). I tried to use a Initialization servlet in one of my > web application and it works fine..but I have another application which > is full of simple java programs .. Is there any way I can avoid parsing > log4j.propertis again and again when running HelloWorld2 with my own > log4j.properties ? > > Your help is highly appreciated! > > Raj > > > -- James Stauffer Are you good? Take the test at http://www.livingwaters.com/good/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
