Re: DispatchAction and Log4j

2009-11-16 Thread NiJK
Paul, Thanks for your reply. My DispatchActions are classes of type myproject.myactions, for example. Shouldn't I be able to add the line log4j.logger.myproject.myactions.myaction=DEBUG and have the level defined for this class alone? -- View this message in context: http://old.nabble.com/D

DispatchAction and Log4j

2009-11-11 Thread NiJK
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 outpu