[DS-3790] include remote IP and useProxies configuration value in debug log for IP authentication

This commit is contained in:
Jozsef Marton
2017-12-15 11:46:02 +01:00
parent 68901a2319
commit 4a4bd26479

View File

@@ -257,7 +257,9 @@ public class IPAuthentication implements AuthenticationMethod {
}
log.debug(LogManager.getHeader(context, "authenticated",
"special_groups=" + gsb.toString()));
"special_groups=" + gsb.toString()
+ " (by IP=" + addr + ", useProxies=" + useProxies.toString() + ")"
));
}
return groups;