mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Set logging level for requests to WARNING
This commit is contained in:
parent
592dd04e0b
commit
d9da8dc17c
@ -22,6 +22,8 @@ from pkg_resources import iter_entry_points, ResolutionError
|
|||||||
import bigchaindb
|
import bigchaindb
|
||||||
from bigchaindb.consensus import AbstractConsensusRules
|
from bigchaindb.consensus import AbstractConsensusRules
|
||||||
|
|
||||||
|
# TODO: move this to a proper configuration file for logging
|
||||||
|
logging.getLogger('requests').setLevel(logging.WARNING)
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
CONFIG_DEFAULT_PATH = os.environ.setdefault(
|
CONFIG_DEFAULT_PATH = os.environ.setdefault(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user