switched to making use of logzero for logging, provides nicer color output, and an easier path to switch to rotating log files

This commit is contained in:
Blake J. Harnden 2017-08-07 11:58:51 -07:00
parent 76bec9950d
commit e4b280196b
53 changed files with 57 additions and 202 deletions

View file

@ -10,6 +10,7 @@ from socket import AF_INET
from socket import AF_INET6
from core import constants
from core import logger
from core.coreobj import PyCoreNetIf
from core.coreobj import PyCoreNode
from core.coreobj import PyCoreObj
@ -18,14 +19,11 @@ from core.enumerations import LinkTypes
from core.enumerations import NodeTypes
from core.enumerations import RegisterTlvs
from core.misc import ipaddress
from core.misc import log
from core.misc import utils
from core.netns.vnet import GreTapBridge
from core.netns.vnet import LxBrNet
from core.netns.vnode import LxcNode
logger = log.get_logger(__name__)
class CtrlNet(LxBrNet):
"""