[Yanel-dev] Debug instead of Warning

basZero baszero at gmail.com
Fri Jan 28 08:09:03 CET 2011


Hi,

another super simple patch.
I would actually wish that you would go through all yanel classes and check
all lines with log.warn and check whether these are really warnings for the
operators running a system in production.

As there is no component or other way to flag a bugzilla item as patch, I
send it via Mail again.

thanks
cheers
balz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wyona.org/pipermail/yanel-development/attachments/20110128/5397744d/attachment.html>
-------------- next part --------------
Index: src/webapp/src/java/org/wyona/yanel/servlet/security/impl/DefaultWebAuthenticatorImpl.java
===================================================================
--- src/webapp/src/java/org/wyona/yanel/servlet/security/impl/DefaultWebAuthenticatorImpl.java	(revision 56203)
+++ src/webapp/src/java/org/wyona/yanel/servlet/security/impl/DefaultWebAuthenticatorImpl.java	(working copy)
@@ -631,7 +631,7 @@
             log.debug("Realm: " + realm);
             YanelServlet.setIdentity(new Identity(user, username), session, realm);
             log.warn("Authentication was successful for user: " + user.getID());
-            log.warn("TODO: Add user to session listener!");
+            log.debug("TODO: Add user to session listener!");
             return true;
         }
         return false;


More information about the Yanel-development mailing list