Commit 24826c49 authored by Dimitris Aragiorgis's avatar Dimitris Aragiorgis

deploy: Add simple logger

..to avoid Fabric error: No handlers could be found for logger
“paramiko.transport”.
Signed-off-by: default avatarDimitris Aragiorgis <dimara@grnet.gr>
parent 836abf89
......@@ -27,6 +27,13 @@ from snfdeploy import context
from snfdeploy import constants
from snfdeploy import roles
import copy
import logging
FORMAT = "%(name)s %(funcName)s:%(lineno)d %(message)s"
# Needed to avoid:
# No handlers could be found for logger "paramiko.transport"
logging.basicConfig(format=FORMAT, level=logging.INFO)
def with_ctx(fn):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment