I'm trying to get Log4j working with my application. It works fine in all my classes when I add the line private static Log log = LogFactory.getLog(ClassName.class);
However, a DispatchAction already has a logger defined. When I add this line to a DispatchAction I am receiving two lines of output instead of just the one. If I remove the line, I get no output at all. I am forwarding commons-logging to log4j using org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.Log4jFactory How do I configure the logger for a struts action? Thanks. -- View this message in context: http://old.nabble.com/DispatchAction-and-Log4j-tp26300684p26300684.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org