Originally posted by Paul Clapham:
I put the log4j.properties file in my application's WEB-INF/lib/classes directory instead of in its WEB-INF/lib directory. And you might want to reconsider the idea of using filenames which contain spaces, and you might want to use forward slashes instead of backward slashes in the filenames.
That's all hypothetical, though, you didn't say what your problem was.
Originally posted by deepthi Ragunathan:
thanks for that piece of code ben......it has worked fine......but with a slight modification
protected static Logger log = Logger.getLogger("foo");
protected static Logger log = Logger.getLogger(Hello.class.getName());
thanks once again
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koophttps://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton