Feat/issue 605 debug logging via env variable (#608)

* feat: Debug Logging via Environment Variable

* refactor: deleted libp2p/utils.py

* fix: double messages logging fix

* doc: add logging info to getting_started.rst
This commit is contained in:
acul71
2025-05-20 22:07:22 +02:00
committed by GitHub
parent 4a53fc3111
commit 18c6f529c6
11 changed files with 655 additions and 28 deletions

View File

@ -47,6 +47,12 @@ from libp2p.transport.tcp.tcp import (
from libp2p.transport.upgrader import (
TransportUpgrader,
)
from libp2p.utils.logging import (
setup_logging,
)
# Initialize logging configuration
setup_logging()
def generate_new_rsa_identity() -> KeyPair: