From: James Moger Date: Wed, 28 Nov 2012 22:09:45 +0000 (-0500) Subject: Fixed missing format call for certificate authentication logging X-Git-Tag: v1.2.0~63 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=579cdd4a691adbbe89f85ce679502cf5d1f045d0;p=gitblit.git Fixed missing format call for certificate authentication logging --- 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;