OK, so it gets archived, I added the following to log4j.properties: log4j.logger.ognl=DEBUG, A1
And put the following in struts.xml: constant name="struts.devMode" value="true" /> Thanks Terry, Mike. -----Original Message----- From: terry.gard...@sun.com [mailto:terry.gard...@sun.com] Sent: Tuesday, April 07, 2009 9:28 AM To: Struts Users Mailing List Subject: Re: OGNL Debug? OGNL should catch the underlying log levels, try setting that to debug or DEBUG or whatever. On Apr 7, 2009, at 9:03 AM, Security Management wrote: > Is there a way to turn on debugging for OGNL for struts 2? I have a > form > field that is not getting set on my action's object, and one that > works > fine. If I change the form from POST to GET I can see the correct > name and > value in the URL. Is there a way to make the OGNL stuff spit out the > traversal of the stack, and see which methods is examining and all > that? > > Thanks. > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > ====== terry.gard...@sun.com Mobile: +1 404 925 6385 Blog: http://blogs.sun.com/terrygardner Blog: http://dtfar.blogspot.com Twitter: http://twitter.com/tgardner SLAMD: http://slamd2.dev.java.net "The best things in life are not things." --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org