Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

btlogging setLevel does nothing #2337

Open
thewhaleking opened this issue Oct 3, 2024 · 0 comments
Open

btlogging setLevel does nothing #2337

thewhaleking opened this issue Oct 3, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@thewhaleking
Copy link
Contributor

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 thewhaleking added the bug Something isn't working label Oct 3, 2024
@thewhaleking thewhaleking transferred this issue from opentensor/btcli Oct 4, 2024
@thewhaleking thewhaleking reopened this Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants