import logging
from rackattack.ssh import connection

formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')
logging.getLogger('network').setLevel(logging.DEBUG)
logging.getLogger('network').propagate = False
logging.getLogger().setLevel(logging.DEBUG)
handler = logging.StreamHandler()
handler.setLevel(logging.DEBUG)
handler.setFormatter(formatter)
logging.getLogger().addHandler(handler)
handler = logging.FileHandler("/var/log/rackattack.physical.network.log")
handler.setLevel(logging.DEBUG)
handler.setFormatter(formatter)
logging.getLogger('network').addHandler(handler)
connection.discardParamikoLogs()
connection.discardSSHDebugMessages()
logging.getLogger("pika").setLevel(logging.INFO)

import logging
from rackattack.ssh import connection

formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')
logging.getLogger('network').setLevel(logging.ERROR)
logging.getLogger('network').propagate = False
logging.getLogger().setLevel(logging.DEBUG)
handler = logging.StreamHandler()
handler.setLevel(logging.DEBUG)
handler.setFormatter(formatter)
logging.getLogger().addHandler(handler)
handler = logging.FileHandler("/var/log/rackattack.physical.network.log")
handler.setLevel(logging.DEBUG)
handler.setFormatter(formatter)
logging.getLogger('network').addHandler(handler)
connection.discardParamikoLogs()
connection.discardSSHDebugMessages()
logging.getLogger("pika").setLevel(logging.INFO)

Set the log level of the network logger to ERROR, since it's less needed now
Set the log level of the network logger to ERROR, since it's less needed now
