remove extra stream handler
This commit is contained in:
parent
d505ac4e50
commit
0bdf5a726a
@ -14,8 +14,8 @@ from pyinfra.storage.storage import get_storage
|
||||
PYINFRA_CONFIG = config.get_config()
|
||||
IMAGE_CONFIG = Config(CONFIG_FILE)
|
||||
|
||||
logging.getLogger().addHandler(logging.StreamHandler())
|
||||
logger = logging.getLogger("main")
|
||||
# logging.getLogger().addHandler(logging.StreamHandler())
|
||||
logger = logging.getLogger(__name__)
|
||||
logger.setLevel(PYINFRA_CONFIG.logging_level_root)
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user