Alissa Bonas has uploaded a new change for review.

Change subject: core: log check is user admin in debug
......................................................................

core: log check is user admin in debug

Log the check "if user is an admin" as debug and not info.
This check is done every 1 minute for logged in users,
thus the log is filled with those messages in info level.

Change-Id: I3f6e7f1ceec4b6d4935035f857281231bacc44e9
Signed-off-by: Alissa Bonas <abo...@redhat.com>
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/LoginBaseCommand.java
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/90/10990/1

diff --git 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/LoginBaseCommand.java
 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/LoginBaseCommand.java
index 85cb553..1f201dd 100644
--- 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/LoginBaseCommand.java
+++ 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/LoginBaseCommand.java
@@ -205,7 +205,7 @@
             // we will want this info
             VdcUser currentUser = new VdcUser(ldapUser);
             boolean isAdmin = 
MultiLevelAdministrationHandler.isAdminUser(currentUser);
-            log.infoFormat("Checking if user {0} is an admin, result {1}", 
currentUser.getUserName(), isAdmin);
+            log.debugFormat("Checking if user {0} is an admin, result {1}", 
currentUser.getUserName(), isAdmin);
             currentUser.setAdmin(isAdmin);
             setCurrentUser(currentUser);
         }


--
To view, visit http://gerrit.ovirt.org/10990
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3f6e7f1ceec4b6d4935035f857281231bacc44e9
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alissa Bonas <abo...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to