"Struts 2.1 introduces more verbose logging than Struts 2.0. While extremely valuable, some users may find these annoying." http://cwiki.apache.org/S2WIKI/troubleshooting-guide-migrating-from-struts-20x-to-21x.html
The extremely annoying thing is that struts 2.1 emits those warnings (apparently) for each struts2 ui tag in each jsp page. ("Could not find property [templateDir] ") In fact, a few (20 or 30) requests in my web application results in a lot (about 1000) of warnings which are not (AFAIK) related to my application, but to struts internals. I like to be warned of missing properties in the stack, as they might point to missing properies in my actions or bad spelt jsp tags... but this is not very useful: # tail -n 2000 /usr/local/tomcat/logs/catalina.out | grep "Could not find" | sed 's/http.* //' | sort | uniq -c 24 WARN [[.freemarker.Request] 24 WARN [[.freemarker.RequestParameters] 29 WARN [[org.apache.catalina.jsp_file] 29 WARN [[struts.valueStack] 864 WARN [[templateDir] 192 WARN [[theme] And no solution is provided, except for disabling those warnings completely. I'd like to know if that implies something wrong (or slightly wrong) about my jsp pages, or about struts. HernĂ¡n --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org