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

Implement warning logging level #2323

Merged
merged 284 commits into from
Oct 1, 2024
Merged

Conversation

roman-opentensor
Copy link
Contributor

@roman-opentensor roman-opentensor commented Sep 27, 2024

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:

  1. bittensor.logging.set_info()
  2. bittensor.logging.set_default()

There are several options to change the level to WARNING in the python script:

  1. bittensor.warning()
  2. bittensor.logging.set_warning()

roman-opentensor and others added 30 commits August 1, 2024 17:50
…thin the bittensor package, but is actively used by the community.
…irect imports of modules and other objects. It helped to avoid namespace conflicts.
Part 2: Redesign, fix namespace conflicts, remove btcli
…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
@roman-opentensor roman-opentensor requested a review from a team September 27, 2024 18:40
@roman-opentensor roman-opentensor self-assigned this Sep 27, 2024
@roman-opentensor roman-opentensor added enhancement New feature or request bittensor labels Sep 27, 2024
@roman-opentensor roman-opentensor changed the base branch from btsdk to staging October 1, 2024 17:38
@roman-opentensor roman-opentensor changed the base branch from staging to btsdk October 1, 2024 17:39
@roman-opentensor roman-opentensor changed the base branch from btsdk to staging October 1, 2024 17:40
@roman-opentensor roman-opentensor changed the base branch from staging to btsdk October 1, 2024 17:40
# 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
@roman-opentensor roman-opentensor changed the base branch from btsdk to staging October 1, 2024 17:57
@ibraheem-opentensor ibraheem-opentensor merged commit 27bf3db into staging Oct 1, 2024
23 checks passed
@ibraheem-opentensor ibraheem-opentensor deleted the feat/roman/logging-warning branch October 1, 2024 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bittensor enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants