Reduce log level of authorization failures
@@ -157,7 +157,7 @@ public class MultiTenantRpcAuthorizer implements RpcAuthorizer {
private void handleAuthorizationFailure(Request request, Throwable throwable) {
String errorMessage = String.format("For request '%s' from '%s' (mode=%s): %s", request.methodName(), request.target().toString(), mode.toString(), throwable.getMessage());
- log.log(LogLevel.WARNING, errorMessage);
+ log.log(LogLevel.INFO, errorMessage);
log.log(LogLevel.DEBUG, throwable, throwable::getMessage);
if (mode == Mode.ENFORCE) {
JrtErrorCode error = throwable instanceof AuthorizationException ? JrtErrorCode.UNAUTHORIZED : JrtErrorCode.AUTHORIZATION_FAILED;
