Skip to content

Commit

Permalink
Changed log level for message with authz opt out (#199678)
Browse files Browse the repository at this point in the history
## Summary

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


__Closes: https://github.com/elastic/kibana/issues/199677__
  • Loading branch information
elena-shostak authored Nov 12, 2024
1 parent 8668757 commit 9bb3661
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down

0 comments on commit 9bb3661

Please sign in to comment.