Skip to content

btlogging setLevel does nothing #2337

Closed
@thewhaleking

Description

@thewhaleking
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.)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions