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
|
@ -11,14 +11,12 @@ vnet.py: NetgraphNet and NetgraphPipeNet classes that implement virtual networks
|
|||
using the FreeBSD Netgraph subsystem.
|
||||
"""
|
||||
|
||||
from core import logger
|
||||
from core.bsd.netgraph import connectngnodes
|
||||
from core.bsd.netgraph import createngnode
|
||||
from core.bsd.netgraph import destroyngnode
|
||||
from core.bsd.netgraph import ngmessage
|
||||
from core.coreobj import PyCoreNet
|
||||
from core.misc import log
|
||||
|
||||
logger = log.get_logger(__name__)
|
||||
|
||||
|
||||
class NetgraphNet(PyCoreNet):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue