You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The enable_log parameter in Enforcer() makes it difficult to specify your own logging handlers. If you enable that option, your logs will get configured the way the casbin devs want them instead of the way you want them. If you leave that option disabled, they explicitly disable the casbin.enforcer logger for some reason, so those messages will never appear.
The
enable_log
parameter inEnforcer()
makes it difficult to specify your own logging handlers. If you enable that option, your logs will get configured the way the casbin devs want them instead of the way you want them. If you leave that option disabled, they explicitly disable thecasbin.enforcer
logger for some reason, so those messages will never appear.Solution:
Leave
enable_log
disabled:Re-enable the
casbin.enforcer
logger yourself:Now you can add your own logging handlers
The text was updated successfully, but these errors were encountered: