From 4d6ae731a9334e576c36add2e4df47b32e899394 Mon Sep 17 00:00:00 2001 From: Strong Liu Date: Wed, 8 Aug 2012 21:14:39 +0800 Subject: [PATCH] HHH-7508 Debug logging throws MissingFormatArgumentException when using non standard Optimizer --- .../main/java/org/hibernate/id/enhanced/OptimizerFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hibernate-core/src/main/java/org/hibernate/id/enhanced/OptimizerFactory.java b/hibernate-core/src/main/java/org/hibernate/id/enhanced/OptimizerFactory.java index 4d618dc556..5e64589894 100644 --- a/hibernate-core/src/main/java/org/hibernate/id/enhanced/OptimizerFactory.java +++ b/hibernate-core/src/main/java/org/hibernate/id/enhanced/OptimizerFactory.java @@ -99,7 +99,7 @@ public class OptimizerFactory { return POOLED_LO; } else { - LOG.debugf( "Unknown optimizer key [%s]; returning null assuming Optimizer impl class name" ); + LOG.debugf( "Unknown optimizer key [%s]; returning null assuming Optimizer impl class name", externalName ); return null; } }