]> source.dussan.org Git - gitblit.git/commitdiff
Fixed missing format call for certificate authentication logging
authorJames Moger <james.moger@gitblit.com>
Wed, 28 Nov 2012 22:09:45 +0000 (17:09 -0500)
committerJames Moger <james.moger@gitblit.com>
Wed, 28 Nov 2012 22:09:45 +0000 (17:09 -0500)
src/com/gitblit/GitBlit.java

index 612870b6c288cf4392eba9830c76b2b415ad9e1b..c05a9248a9d014a987ed9951507137a8cfa61b4e 100644 (file)
@@ -567,7 +567,8 @@ public class GitBlit implements ServletContextListener {
                UserModel model = HttpUtils.getUserModelFromCertificate(httpRequest, checkValidity, oids);\r
                if (model != null) {\r
                        UserModel user = GitBlit.self().getUserModel(model.username);\r
-                       logger.info("{0} authenticated by client certificate from {1}", user.username, httpRequest.getRemoteAddr());\r
+                       logger.info(MessageFormat.format("{0} authenticated by client certificate from {1}",\r
+                                       user.username, httpRequest.getRemoteAddr()));\r
                        return user;\r
                }\r
                return null;\r