Skip to content

Commit

Permalink
Changed log level for message with authz opt out (elastic#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 and tkajtoch committed Nov 12, 2024
1 parent 4183051 commit 3ff582a
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 3ff582a

Please sign in to comment.