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
|
@ -14,16 +14,14 @@ import threading
|
|||
import crypt
|
||||
|
||||
from core import constants
|
||||
from core import logger
|
||||
from core.coreobj import PyCoreNetIf
|
||||
from core.coreobj import PyCoreNode
|
||||
from core.enumerations import NodeTypes
|
||||
from core.misc import log
|
||||
from core.misc import nodeutils
|
||||
from core.misc import utils
|
||||
from core.netns.vnode import LxcNode
|
||||
|
||||
logger = log.get_logger(__name__)
|
||||
|
||||
try:
|
||||
import parted
|
||||
except ImportError:
|
||||
|
|
|
@ -17,6 +17,7 @@ import os
|
|||
import string
|
||||
|
||||
from core import constants
|
||||
from core import logger
|
||||
from core.api import coreapi
|
||||
from core.conf import Configurable
|
||||
from core.conf import ConfigurableManager
|
||||
|
@ -24,9 +25,6 @@ from core.enumerations import ConfigDataTypes
|
|||
from core.enumerations import ConfigFlags
|
||||
from core.enumerations import ConfigTlvs
|
||||
from core.enumerations import RegisterTlvs
|
||||
from core.misc import log
|
||||
|
||||
logger = log.get_logger(__name__)
|
||||
|
||||
|
||||
class XenConfigManager(ConfigurableManager):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue