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:
parent
76bec9950d
commit
e4b280196b
53 changed files with 57 additions and 202 deletions
|
@ -7,14 +7,12 @@ import subprocess
|
|||
import threading
|
||||
|
||||
from core import constants
|
||||
from core import logger
|
||||
from core.coreobj import PyCoreNode
|
||||
from core.misc import log
|
||||
from core.misc import utils
|
||||
from core.netns.vnet import GreTap
|
||||
from core.netns.vnet import LxBrNet
|
||||
|
||||
logger = log.get_logger(__name__)
|
||||
|
||||
|
||||
class PhysicalNode(PyCoreNode):
|
||||
def __init__(self, session, objid=None, name=None, nodedir=None, start=True):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue