Results
No results found.
The library can be configured to emit logging that will give you better insight into what it's doing. There are some levels: debug, info, warning, error.
The info logging level is usually most appropriate for production use, but debug is also available for more verbosity.
There are a few options for enabling it:
1. Set the environment variable LOCKER_LOG to the value debug, info, warning or error
$ export LOCKER_LOG=debug2. Set log when initializing the Locker object
from locker import Locker
locker = Locker(log="debug")3. Enable it through Python's logging module:
import logging
logging.basicConfig()
logging.getLogger('locker').setLevel(logging.DEBUG)