Skip to content

Commit

Permalink
tests: fix disabled logger
Browse files Browse the repository at this point in the history
  • Loading branch information
remigermain committed Sep 30, 2023
1 parent 2b9a864 commit 40dbd56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion casbin/util/log.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ def configure_logging(logging_config=None):

def disabled_logging():
for logger_name in DEFAULT_LOGGING["loggers"].keys():
logging.getLogger(logger_name).disable(logging.CRITICAL)
logging.getLogger(logger_name).disabled = True

0 comments on commit 40dbd56

Please sign in to comment.