From 54cd72983cc63b725ea5aa2ba73359cf0b31c01e Mon Sep 17 00:00:00 2001 From: nicolas Date: Wed, 15 Apr 2015 11:48:57 +0200 Subject: [PATCH] Remove log print --- .../vamdc/portal/session/queryLog/PersistentQueryLog.java | 2 +- .../java/org/vamdc/portal/session/security/UserInfo.java | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/portal.ejb/src/main/java/org/vamdc/portal/session/queryLog/PersistentQueryLog.java b/portal.ejb/src/main/java/org/vamdc/portal/session/queryLog/PersistentQueryLog.java index 73044f6..31cbaff 100644 --- a/portal.ejb/src/main/java/org/vamdc/portal/session/queryLog/PersistentQueryLog.java +++ b/portal.ejb/src/main/java/org/vamdc/portal/session/queryLog/PersistentQueryLog.java @@ -25,7 +25,7 @@ public class PersistentQueryLog { @SuppressWarnings("unchecked") public List getStoredQueries(){ - log.info("Reading saved queries"); + //log.info("Reading saved queries"); List queries = null; diff --git a/portal.ejb/src/main/java/org/vamdc/portal/session/security/UserInfo.java b/portal.ejb/src/main/java/org/vamdc/portal/session/security/UserInfo.java index 1fba124..3864d13 100644 --- a/portal.ejb/src/main/java/org/vamdc/portal/session/security/UserInfo.java +++ b/portal.ejb/src/main/java/org/vamdc/portal/session/security/UserInfo.java @@ -22,10 +22,9 @@ public class UserInfo { @In private Identity identity; public User getUser(){ - if (identity!=null){ - System.out.println("identity try login: "+identity.tryLogin()); - - } + /*if (identity!=null){ + System.out.println("identity try login: "+identity.tryLogin()); + }*/ String user = null; if (identity!=null && identity.isLoggedIn() && credentials!=null)