struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jasper Rosenberg (JIRA)" <j...@apache.org>
Subject [jira] Created: (WW-1818) Reduce redundant logging in Dispatcher
Date Thu, 15 Mar 2007 11:51:51 GMT
Reduce redundant logging in Dispatcher
--------------------------------------

                 Key: WW-1818
                 URL: https://issues.apache.org/struts/browse/WW-1818
             Project: Struts 2
          Issue Type: Improvement
          Components: Dispatch
    Affects Versions: 2.0.6
            Reporter: Jasper Rosenberg
            Priority: Trivial


Every time you have a request with content type "multipart/form-data", Dispatcher method getSaveDir()
is called.

If you do not have the "struts.multipart.saveDir" property set, every time you get the log
info messsage:
"Unable to find 'struts.multipart.saveDir' property setting. Defaulting to javax.servlet.context.tempdir"

It would be nice if this message was only output the first time getSaveDir() was called. 
One simple way to do this would be to set multipartSaveDir to be tempdir after the first time
through this case.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message