diff --git a/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/PreparedQueryCacheImpl.java b/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/PreparedQueryCacheImpl.java
index 40c74756a..abbaf42d7 100644
--- a/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/PreparedQueryCacheImpl.java
+++ b/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/PreparedQueryCacheImpl.java
@@ -120,7 +120,7 @@ public class PreparedQueryCacheImpl implements PreparedQueryCache {
 			}
 			_delegate.put(id, q);
             if (_log != null && _log.isTraceEnabled())
-                _log.trace(_loc.get("prepared-query-cached", id);
+                _log.trace(_loc.get("prepared-query-cached", id));
 			return true;
 		} finally {
 			unlock();