From c71fe24df8c58f9d700c6625836d8ae3c922416f Mon Sep 17 00:00:00 2001 From: Joel Johnson Date: Fri, 19 Jun 2015 15:43:12 -0600 Subject: [PATCH] log authenticated username --- .../java/com/gitblit/servlet/AccessRestrictionFilter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/gitblit/servlet/AccessRestrictionFilter.java b/src/main/java/com/gitblit/servlet/AccessRestrictionFilter.java index bfbc0899..b9cb0885 100644 --- a/src/main/java/com/gitblit/servlet/AccessRestrictionFilter.java +++ b/src/main/java/com/gitblit/servlet/AccessRestrictionFilter.java @@ -248,8 +248,8 @@ public abstract class AccessRestrictionFilter extends AuthenticationFilter { // authenticated request permitted. // pass processing to the restricted servlet. newSession(authenticatedRequest, httpResponse); - logger.info(MessageFormat.format("ARF: {0} ({1}) authenticated", fullUrl, - HttpServletResponse.SC_CONTINUE)); + logger.info(MessageFormat.format("ARF: authenticated {0} to {1} ({2})", user.username, + fullUrl, HttpServletResponse.SC_CONTINUE)); chain.doFilter(authenticatedRequest, httpResponse); return; } -- 2.39.5