diff options
author | James Moger <james.moger@gmail.com> | 2015-12-10 09:34:38 -0500 |
---|---|---|
committer | James Moger <james.moger@gmail.com> | 2015-12-10 09:34:38 -0500 |
commit | 280c0c041ed830a4d5874b60adf1b72760326c6a (patch) | |
tree | 1c8d9e36e3cfb653152495c4b339d421a1176d9d /src/main | |
parent | 63e4d9660de3f4c615a8e9444aaf3c3de128e77c (diff) | |
parent | c71fe24df8c58f9d700c6625836d8ae3c922416f (diff) | |
download | gitblit-280c0c041ed830a4d5874b60adf1b72760326c6a.tar.gz gitblit-280c0c041ed830a4d5874b60adf1b72760326c6a.zip |
Merge pull request #981 from mrjoel/mrjoel-loguseraccess
Log username with access logging
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/com/gitblit/servlet/AccessRestrictionFilter.java | 4 |
1 files 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;
}
|