You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ja...@apache.org on 2012/07/20 11:58:08 UTC

svn commit: r1363699 - /ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/ContextFilter.java

Author: jacopoc
Date: Fri Jul 20 09:58:08 2012
New Revision: 1363699

URL: http://svn.apache.org/viewvc?rev=1363699&view=rev
Log:
Small enhancements to log messages

Modified:
    ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/ContextFilter.java

Modified: ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/ContextFilter.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/ContextFilter.java?rev=1363699&r1=1363698&r2=1363699&view=diff
==============================================================================
--- ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/ContextFilter.java (original)
+++ ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/ContextFilter.java Fri Jul 20 09:58:08 2012
@@ -401,12 +401,12 @@ public class ContextFilter implements Fi
                 try {
                     security = SecurityFactory.getInstance(delegator);
                 } catch (SecurityConfigurationException e) {
-                    Debug.logError(e, "[ServiceDispatcher.init] : No instance of security imeplemtation found.", module);
+                    Debug.logError(e, "Unable to obtain an instance of the security object.", module);
                 }
             }
             config.getServletContext().setAttribute("security", security);
             if (security == null) {
-                Debug.logError("[ContextFilter.init] ERROR: security create failed.", module);
+                Debug.logError("An invalid (null) Security object has been set in the servlet context.", module);
             }
         }
         return security;