-
Notifications
You must be signed in to change notification settings - Fork 359
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
Implement warning logging level #2323
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…thin the bittensor package, but is actively used by the community.
…irect imports of modules and other objects. It helped to avoid namespace conflicts.
…y`, since it is used directly from utils.
…ock` for backwards compatibility.
…wards_compatibility` subpackage
Part 2: Redesign, fix namespace conflicts, remove btcli
…man/btsdk-structure-part-3
…se' into feat/roman/staging-into-btsdk # Conflicts: # bittensor/core/axon.py # bittensor/core/dendrite.py # bittensor/core/stream.py # bittensor/extrinsics/delegation.py # requirements/prod.txt # tests/unit_tests/test_axon.py # tests/unit_tests/test_logging.py
Update README.md
…arning Set `WARNING` level ad default logging level
ibraheem-opentensor
approved these changes
Sep 27, 2024
12 tasks
# Conflicts: # bittensor/__init__.py # bittensor/core/subtensor.py # bittensor/utils/deprecated.py # requirements/prod.txt # setup.py # tests/e2e_tests/conftest.py # tests/e2e_tests/test_axon.py # tests/e2e_tests/test_commit_weights.py # tests/e2e_tests/test_dendrite.py # tests/e2e_tests/test_incentive.py # tests/e2e_tests/test_liquid_alpha.py # tests/e2e_tests/test_metagraph.py # tests/e2e_tests/test_subtensor_functions.py # tests/e2e_tests/test_transfer.py
opendansor
approved these changes
Oct 1, 2024
This was referenced Oct 2, 2024
Closed
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Warning logging level implemented. logging.INFO is the default level now. When importing a bittensor, the Warning level is activated automatically.
There are several options to change the level to INFO in the python script:
bittensor.logging.set_info()
bittensor.logging.set_default()
There are several options to change the level to WARNING in the python script:
bittensor.warning()
bittensor.logging.set_warning()