Преглед на файлове

SEC-2103: Change log of no results to debug

Rob Winch преди 12 години
родител
ревизия
acb2b680d0
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      web/src/main/java/org/springframework/security/web/authentication/rememberme/JdbcTokenRepositoryImpl.java

+ 2 - 2
web/src/main/java/org/springframework/security/web/authentication/rememberme/JdbcTokenRepositoryImpl.java

@@ -91,8 +91,8 @@ public class JdbcTokenRepositoryImpl extends JdbcDaoSupport implements Persisten
                 }
             }, seriesId);
         } catch(EmptyResultDataAccessException zeroResults) {
-            if(logger.isInfoEnabled()) {
-                logger.info("Querying token for series '" + seriesId + "' returned no results.", zeroResults);
+            if(logger.isDebugEnabled()) {
+                logger.debug("Querying token for series '" + seriesId + "' returned no results.", zeroResults);
             }
         }catch(IncorrectResultSizeDataAccessException moreThanOne) {
             logger.error("Querying token for series '" + seriesId + "' returned more than one value. Series" +