openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ppod...@apache.org
Subject svn commit: r1164520 - /openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/PreparedQueryCacheImpl.java
Date Fri, 02 Sep 2011 13:08:34 GMT
Author: ppoddar
Date: Fri Sep  2 13:08:33 2011
New Revision: 1164520

URL: http://svn.apache.org/viewvc?rev=1164520&view=rev
Log:
Reduce log message verbosity

Modified:
    openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/PreparedQueryCacheImpl.java

Modified: openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/PreparedQueryCacheImpl.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/PreparedQueryCacheImpl.java?rev=1164520&r1=1164519&r2=1164520&view=diff
==============================================================================
--- openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/PreparedQueryCacheImpl.java
(original)
+++ openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/PreparedQueryCacheImpl.java
Fri Sep  2 13:08:33 2011
@@ -188,8 +188,8 @@ public class PreparedQueryCacheImpl impl
 		lock(false);
 		try {
 			if (_uncachables.put(id, exclusion) == null) {
-			    if (_log != null && _log.isWarnEnabled()) 
-			        _log.warn(_loc.get("prepared-query-uncache", id, exclusion));
+			    if (_log != null && _log.isTraceEnabled()) 
+			        _log.trace(_loc.get("prepared-query-uncache", id, exclusion));
 			}
 			PreparedQuery pq = _delegate.remove(id);
             if (_statsEnabled && pq != null) {



Mime
View raw message