diff options
author | Dariusz Bywalec <dariusz.bywalec@trapezegroup.pl> | 2016-01-04 11:41:12 +0100 |
---|---|---|
committer | Dariusz Bywalec <dariusz.bywalec@trapezegroup.pl> | 2016-01-04 11:41:12 +0100 |
commit | db09ef1033ce4942ac1eb3cb684f232bf7e5e231 (patch) | |
tree | bd871115af232623b149577ccdd9b81feb80d3d2 /src | |
parent | 2539ceea0d47467d54cedd340afa6ede2909b2bd (diff) | |
download | gitblit-db09ef1033ce4942ac1eb3cb684f232bf7e5e231.tar.gz gitblit-db09ef1033ce4942ac1eb3cb684f232bf7e5e231.zip |
Lower log level of servlet authenticate when request is already authenticated
When calling a servlet which has already been authenticated, the server would produce
a lot of superfluous log entries, e.g:
Called servlet authenticate when request is already authenticated.
The log level for this log entry has been lowered down to DEBUG.
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/com/gitblit/manager/AuthenticationManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/gitblit/manager/AuthenticationManager.java b/src/main/java/com/gitblit/manager/AuthenticationManager.java index f092bfed..147badfb 100644 --- a/src/main/java/com/gitblit/manager/AuthenticationManager.java +++ b/src/main/java/com/gitblit/manager/AuthenticationManager.java @@ -204,7 +204,7 @@ public class AuthenticationManager implements IAuthenticationManager { // Check if this request has already been authenticated, and trust that instead of re-processing String reqAuthUser = (String) httpRequest.getAttribute(Constants.ATTRIB_AUTHUSER); if (!StringUtils.isEmpty(reqAuthUser)) { - logger.warn("Called servlet authenticate when request is already authenticated."); + logger.debug("Called servlet authenticate when request is already authenticated."); return userManager.getUserModel(reqAuthUser); } |