Getting started with log4j...

2007-05-22 Thread Redefined Horizons
I was just about to write some debug code by hand in my Java classes when I remembered reading about log4j. I checked out the website and it seemed to do exactly what I needed, only better. I have decided to give it a try. However, after reading a couple of the tutorials and the online manual I

Re: Getting started with log4j...

2007-05-22 Thread James Stauffer
I don't see anything wrong but I use automatic XML config so I am not familiar with code config. You may want to try XML config. On 5/22/07, Redefined Horizons [EMAIL PROTECTED] wrote: I was just about to write some debug code by hand in my Java classes when I remembered reading about log4j. I

Re: Getting started with log4j...

2007-05-22 Thread Redefined Horizons
James, I'll try reading about that. Thanks, Landon On 5/22/07, James Stauffer [EMAIL PROTECTED] wrote: I don't see anything wrong but I use automatic XML config so I am not familiar with code config. You may want to try XML config. On 5/22/07, Redefined Horizons [EMAIL PROTECTED] wrote: I

Re: Getting started with log4j...

2007-05-22 Thread Wayne Cannon
I'm new to log4j, but had similar problems sporadically. You are configuring log4j programmatically, while I was using a config file. It wasn't finding my config file until I learned that the log4j.xml file needs to be somewhere in the classpath (even if it's just .) or explicitly referenced