From 579cdd4a691adbbe89f85ce679502cf5d1f045d0 Mon Sep 17 00:00:00 2001 From: James Moger Date: Wed, 28 Nov 2012 17:09:45 -0500 Subject: [PATCH] Fixed missing format call for certificate authentication logging --- src/com/gitblit/GitBlit.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/com/gitblit/GitBlit.java b/src/com/gitblit/GitBlit.java index 612870b6..c05a9248 100644 --- a/src/com/gitblit/GitBlit.java +++ b/src/com/gitblit/GitBlit.java @@ -567,7 +567,8 @@ public class GitBlit implements ServletContextListener { UserModel model = HttpUtils.getUserModelFromCertificate(httpRequest, checkValidity, oids); if (model != null) { UserModel user = GitBlit.self().getUserModel(model.username); - logger.info("{0} authenticated by client certificate from {1}", user.username, httpRequest.getRemoteAddr()); + logger.info(MessageFormat.format("{0} authenticated by client certificate from {1}", + user.username, httpRequest.getRemoteAddr())); return user; } return null; -- 2.39.5