[
https://issues.apache.org/struts/browse/WW-3067?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Musachy Barroso resolved WW-3067.
---------------------------------
Resolution: Fixed
> Add a configuration constant to turn on/off the logging of missing properties
> by OGNL
> -------------------------------------------------------------------------------------
>
> Key: WW-3067
> URL: https://issues.apache.org/struts/browse/WW-3067
> Project: Struts 2
> Issue Type: Bug
> Affects Versions: 2.1.6
> Reporter: Musachy Barroso
> Assignee: Musachy Barroso
> Fix For: 2.1.7
>
>
> Right now OGNLValueStack logs insane amount of useless information, when
> properties are missing(see below). A new config constant will be added,
> "struts.ognl.logMissingProperties" which will be false by default.
> like:
> 2009-03-30 12:03:11,043 WARN
> (com.opensymphony.xwork2.ognl.OgnlValueStack:45) - Could not find property
> [org.apache.catalina.jsp_file]
> 2009-03-30 12:03:11,122 WARN
> (com.opensymphony.xwork2.ognl.OgnlValueStack:45) - Could not find property
> [struts.actionMapping]
> 2009-03-30 12:03:11,122 WARN
> (com.opensymphony.xwork2.ognl.OgnlValueStack:45) - Could not find property
> [struts.actionMapping]
> 2009-03-30 12:03:11,137 WARN
> (com.opensymphony.xwork2.ognl.OgnlValueStack:45) - Could not find property
> [__sitemesh__filterapplied]
> 2009-03-30 12:03:11,137 WARN
> (com.opensymphony.xwork2.ognl.OgnlValueStack:45) - Could not find property
> [struts.actionMapping]
> 2009-03-30 12:03:11,137 WARN
> (com.opensymphony.xwork2.ognl.OgnlValueStack:45) - Could not find property
> [__sitemesh__filterapplied]
> 2009-03-30 12:03:11,137 WARN
> (com.opensymphony.xwork2.ognl.OgnlValueStack:45) - Could not find property
> [struts.actionMapping]
> 2009-03-30 12:03:11,153 WARN
> (com.opensymphony.xwork2.ognl.OgnlValueStack:45) - Could not find property
> [org.mortbay.jetty.included]
> 2009-03-30 12:03:11,200 WARN
> (com.opensymphony.xwork2.ognl.OgnlValueStack:45) - Could not find property
> [struts.actionMapping]
> 2009-03-30 12:03:11,215 WARN
> (com.opensymphony.xwork2.ognl.OgnlValueStack:45) - Could not find property
> [struts.actionMapping]
> 2009-03-30 12:03:11,231 WARN
> (com.opensymphony.xwork2.ognl.OgnlValueStack:45) - Could not find property
> [struts.actionMapping]
> 2009-03-30 12:03:11,231 WARN
> (com.opensymphony.xwork2.ognl.OgnlValueStack:45) - Could not find property
> [__sitemesh__filterapplied]
> 2009-03-30 12:03:11,231 WARN
> (com.opensymphony.xwork2.ognl.OgnlValueStack:45) - Could not find property
> [struts.actionMapping]
> 2009-03-30 12:03:11,231 WARN
> (com.opensymphony.xwork2.ognl.OgnlValueStack:45) - Could not find property
> [org.mortbay.jetty.included]
> 2009-03-30 12:03:11,231 WARN
> (com.opensymphony.xwork2.ognl.OgnlValueStack:45) - Could not find property
> [struts.actionMapping]
> 2009-03-30 12:03:11,231 WARN
> (com.opensymphony.xwork2.ognl.OgnlValueStack:45) - Could not find property
> [__sitemesh__filterapplied]
> 2009-03-30 12:03:11,247 WARN
> (com.opensymphony.xwork2.ognl.OgnlValueStack:45) - Could not find property
> [__sitemesh__filterapplied]
> 2009-03-30 12:03:11,247 WARN
> (com.opensymphony.xwork2.ognl.OgnlValueStack:45) - Could not find property
> [struts.actionMapping]
> 2009-03-30 12:03:11,247 WARN
> (com.opensymphony.xwork2.ognl.OgnlValueStack:45) - Could not find property
> [struts.actionMapping]
> 2009-03-30 12:03:11,247 WARN
> (com.opensymphony.xwork2.ognl.OgnlValueStack:45) - Could not find property
> [org.mortbay.jetty.included]
> 2009-03-30 12:03:11,262 WARN
> (com.opensymphony.xwork2.ognl.OgnlValueStack:45) - Could not find property
> [__sitemesh__filterapplied]
> 2009-03-30 12:03:11,262 WARN
> (com.opensymphony.xwork2.ognl.OgnlValueStack:45) - Could not find property
> [struts.actionMapping]
> 2009-03-30 12:03:11,247 WARN
> (com.opensymphony.xwork2.ognl.OgnlValueStack:45) - Could not find property
> [struts.actionMapping]
> 2009-03-30 12:03:11,262 WARN
> (com.opensymphony.xwork2.ognl.OgnlValueStack:45) - Could not find property
> [org.mortbay.jetty.included]
> 2009-03-30 12:03:11,278 WARN
> (com.opensymphony.xwork2.ognl.OgnlValueStack:45) - Could not find property
> [__sitemesh__filterapplied]
> 2009-03-30 12:03:11,278 WARN
> (com.opensymphony.xwork2.ognl.OgnlValueStack:45) - Could not find property
> [struts.actionMapping]
> 2009-03-30 12:03:11,278 WARN
> (com.opensymphony.xwork2.ognl.OgnlValueStack:45) - Could not find property
> [templateDir]
> 2009-03-30 12:03:11,278 WARN
> (com.opensymphony.xwork2.ognl.OgnlValueStack:45) - Could not find property
> [templateDir]
> 2009-03-30 12:03:11,278 WARN
> (com.opensymphony.xwork2.ognl.OgnlValueStack:45) - Could not find property
> [#attr.templateDir]
> 2009-03-30 12:03:11,278 WARN
> (com.opensymphony.xwork2.ognl.OgnlValueStack:45) - Could not find property
> [org.mortbay.jetty.included]
> 2009-03-30 12:03:11,278 WARN
> (com.opensymphony.xwork2.ognl.OgnlValueStack:45) - Could not find property
> [org.mortbay.jetty.included]
> 2009-03-30 12:03:11,278 WARN
> (com.opensymphony.xwork2.ognl.OgnlValueStack:45) - Could not find property
> [theme]
> 2009-03-30 12:03:11,293 WARN
> (com.opensymphony.xwork2.ognl.OgnlValueStack:45) - Could not find property
> [theme]
> 2009-03-30 12:03:11,293 WARN
> (com.opensymphony.xwork2.ognl.OgnlValueStack:45) - Could not find property
> [#attr.theme]
> 2009-03-30 12:03:11,293 WARN
> (com.opensymphony.xwork2.ognl.OgnlValueStack:45) - Could not find property
> [templateDir]
> 2009-03-30 12:03:11,293 WARN
> (com.opensymphony.xwork2.ognl.OgnlValueStack:45) - Could not find property
> [templateDir]
> 2009-03-30 12:03:11,293 WARN
> (com.opensymphony.xwork2.ognl.OgnlValueStack:45) - Could not find property
> [#attr.templateDir]
> 2009-03-30 12:03:11,293 WARN
> (com.opensymphony.xwork2.ognl.OgnlValueStack:45) - Could not find property
> [theme]
> 2009-03-30 12:03:11,293 WARN
> (com.opensymphony.xwork2.ognl.OgnlValueStack:45) - Could not find property
> [theme]
> 2009-03-30 12:03:11,293 WARN
> (com.opensymphony.xwork2.ognl.OgnlValueStack:45) - Could not find property
> [#attr.theme]
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.