Changed log level for message with authz opt out (#199678)

## Summary

Changed log level for message with authz opt out from `warn` to `debug`


__Closes: https://github.com/elastic/kibana/issues/199677__
This commit is contained in:
Elena Shostak 2024-11-12 13:05:56 +01:00 committed by GitHub
parent 8668757459
commit 9bb3661060
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -48,10 +48,6 @@ export function initAPIAuthorization(
if (security) {
if (isAuthzDisabled(security.authz)) {
logger.warn(
`Route authz is disabled for ${request.url.pathname}${request.url.search}": ${security.authz.reason}`
);
return toolkit.next();
}