bittensor icon indicating copy to clipboard operation
bittensor copied to clipboard

btlogging setLevel does nothing

Open thewhaleking opened this issue 1 year ago • 0 comments

from bittensor.utils.btlogging import logging

print(logging.get_level())  # prints 30
logging.setLevel(20)
print(logging.get_level())  # prints 30

I would expect this to set the logging level to 20, but it does not.

If this is expected, it should be documented (LoggingMachine subclasses logging.Logger, and thus has that method.)

thewhaleking avatar Oct 03 '24 16:10 thewhaleking