[Yanel-commits] rev 21482 - public/yanel/trunk/src/core/java/org/wyona/yanel/servlet

michi at wyona.com michi at wyona.com
Sat Jan 6 23:59:41 CET 2007


Author: michi
Date: 2007-01-06 23:59:39 +0100 (Sat, 06 Jan 2007)
New Revision: 21482

Modified:
   public/yanel/trunk/src/core/java/org/wyona/yanel/servlet/YanelServlet.java
Log:
log level fixed

Modified: public/yanel/trunk/src/core/java/org/wyona/yanel/servlet/YanelServlet.java
===================================================================
--- public/yanel/trunk/src/core/java/org/wyona/yanel/servlet/YanelServlet.java	2007-01-06 22:58:37 UTC (rev 21481)
+++ public/yanel/trunk/src/core/java/org/wyona/yanel/servlet/YanelServlet.java	2007-01-06 22:59:39 UTC (rev 21482)
@@ -840,9 +840,9 @@
         //authorized = pm.authorize(new org.wyona.commons.io.Path(request.getServletPath()), identity, role);
         
         try {
-            log.error("authorize: realm: " + realm + ", path: " + path + ", identity: " + identity.getUsername() + ", role: " + role.getName());
+            log.debug("Check authorization: realm: " + realm + ", path: " + path + ", identity: " + identity.getUsername() + ", role: " + role.getName());
             authorized = realm.getPolicyManager().authorize(path, identity, role);
-            log.error("authorize result: " + authorized);
+            log.debug("Check authorization result: " + authorized);
         } catch (Exception e) {
             log.error(e.getMessage(), e);
             throw new ServletException(e.getMessage(), e);




More information about the Yanel-commits mailing list