Skip to content

Commit

Permalink
feat: change log level to warning (#329)
Browse files Browse the repository at this point in the history
  • Loading branch information
felixlu authored Oct 25, 2023
1 parent 2683c15 commit 124d2c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions casbin/core_enforcer.py
Original file line number Diff line number Diff line change
Expand Up @@ -512,9 +512,9 @@ def enforce_ex(self, *rvals):
if result:
self.logger.info(req_str)
else:
# leaving this in error for now, if it's very noise this can be changed to info or debug,
# leaving this in warning for now, if it's very noise this can be changed to info or debug,
# or change the log level
self.logger.error(req_str)
self.logger.warning(req_str)

explain_rule = []
if explain_index != -1 and explain_index < policy_len:
Expand Down

0 comments on commit 124d2c0

Please sign in to comment.