]> source.dussan.org Git - gitblit.git/commitdiff
Change level of authentication logging to debug
authorJames Moger <james.moger@gitblit.com>
Thu, 28 Mar 2013 20:25:11 +0000 (16:25 -0400)
committerJames Moger <james.moger@gitblit.com>
Thu, 28 Mar 2013 20:25:11 +0000 (16:25 -0400)
src/main/java/com/gitblit/GitBlit.java

index 0452e1da49c89a55f8027abca5fa3e160c3c0de4..2361a6e4a3bb8e2e843493dbca3fae24e2b0a416 100644 (file)
@@ -613,7 +613,7 @@ public class GitBlit implements ServletContextListener {
                        X509Metadata metadata = HttpUtils.getCertificateMetadata(httpRequest);\r
                        if (user != null) {\r
                                flagWicketSession(AuthenticationType.CERTIFICATE);\r
-                               logger.info(MessageFormat.format("{0} authenticated by client certificate {1} from {2}",\r
+                               logger.debug(MessageFormat.format("{0} authenticated by client certificate {1} from {2}",\r
                                                user.username, metadata.serialNumber, httpRequest.getRemoteAddr()));\r
                                return user;\r
                        } else {\r
@@ -633,7 +633,7 @@ public class GitBlit implements ServletContextListener {
                        UserModel user = getUserModel(principal.getName());\r
                        if (user != null) {\r
                                flagWicketSession(AuthenticationType.CONTAINER);\r
-                               logger.info(MessageFormat.format("{0} authenticated by servlet container principal from {1}",\r
+                               logger.debug(MessageFormat.format("{0} authenticated by servlet container principal from {1}",\r
                                                user.username, httpRequest.getRemoteAddr()));\r
                                return user;\r
                        } else {\r
@@ -647,7 +647,7 @@ public class GitBlit implements ServletContextListener {
                        UserModel user = authenticate(httpRequest.getCookies());\r
                        if (user != null) {\r
                                flagWicketSession(AuthenticationType.COOKIE);\r
-                               logger.info(MessageFormat.format("{0} authenticated by cookie from {1}",\r
+                               logger.debug(MessageFormat.format("{0} authenticated by cookie from {1}",\r
                                                user.username, httpRequest.getRemoteAddr()));\r
                                return user;\r
                        }\r
@@ -669,7 +669,7 @@ public class GitBlit implements ServletContextListener {
                                UserModel user = authenticate(username, password);\r
                                if (user != null) {\r
                                        flagWicketSession(AuthenticationType.CREDENTIALS);\r
-                                       logger.info(MessageFormat.format("{0} authenticated by BASIC request header from {1}",\r
+                                       logger.debug(MessageFormat.format("{0} authenticated by BASIC request header from {1}",\r
                                                        user.username, httpRequest.getRemoteAddr()));\r
                                        return user;\r
                                } else {\r