]> source.dussan.org Git - gitblit.git/commitdiff
log authenticated username 981/head
authorJoel Johnson <mrjoel@lixil.net>
Fri, 19 Jun 2015 21:43:12 +0000 (15:43 -0600)
committerJoel Johnson <mrjoel@lixil.net>
Wed, 9 Dec 2015 14:40:36 +0000 (07:40 -0700)
src/main/java/com/gitblit/servlet/AccessRestrictionFilter.java

index bfbc0899340eced3ac75083048c9bfae66cbf45a..b9cb088545e6ca35124c39b53568dfd362ff7ba2 100644 (file)
@@ -248,8 +248,8 @@ public abstract class AccessRestrictionFilter extends AuthenticationFilter {
                                        // authenticated request permitted.\r
                                        // pass processing to the restricted servlet.\r
                                        newSession(authenticatedRequest, httpResponse);\r
-                                       logger.info(MessageFormat.format("ARF: {0} ({1}) authenticated", fullUrl,\r
-                                                       HttpServletResponse.SC_CONTINUE));\r
+                                       logger.info(MessageFormat.format("ARF: authenticated {0} to {1} ({2})", user.username,\r
+                                                       fullUrl, HttpServletResponse.SC_CONTINUE));\r
                                        chain.doFilter(authenticatedRequest, httpResponse);\r
                                        return;\r
                                }\r