I have log4j.properties in the /classes subdir as usual, but for some reason,
the webapp does not seem to be finding it. Logging is not working yet, no log
files being written when the app is run. The FTPServer, itself is running and
working fine. But it is not logging.
We are running FTPServer embedded in our webapp. It is writing to System.out.
that "No appenders are set-up" (Log4j). However, an appender IS defined
properly in the log4j.properties file--which is inside WEB-INF/classes. I have
used log4j on its own, for years, in web applications. For web applications,
WEB-INF/classes is where you are supposed to put log4j.properties, to define
the appenders.
Where do I have to put log4j.properties within my project for FTPServer to
successfullly find it? I'm looking for a specific direectory or URI. Thanks.
_________________________________________________________________
Get more out of the Web. Learn 10 hidden secrets of Windows Live.
http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008