unify log prefix, use simplezfs everywhere

main
svalouch 5 years ago
parent 6366835445
commit 644bf8e6bc

@ -9,7 +9,7 @@ import logging
from .types import Property from .types import Property
from .zfs import ZFS from .zfs import ZFS
log = logging.getLogger('zfs.zfs_native') log = logging.getLogger('simplezfs.zfs_native')
class ZFSNative(ZFS): class ZFSNative(ZFS):

@ -10,7 +10,7 @@ from typing import Any, Dict, Optional
from .types import ZPoolHealth from .types import ZPoolHealth
from .zpool import ZPool from .zpool import ZPool
log = logging.getLogger('zfs.zpool_cli') log = logging.getLogger('simplezfs.zpool_cli')
class ZPoolCli(ZPool): class ZPoolCli(ZPool):
@ -50,7 +50,7 @@ class ZPoolCli(ZPool):
Parses the output of ``zpool list -vPHp`` and emits a list of pool structures. Parses the output of ``zpool list -vPHp`` and emits a list of pool structures.
''' '''
plog = logging.getLogger('zfs.zpool_cli.zpool_list_parser') plog = logging.getLogger('simplezfs.zpool_cli.zpool_list_parser')
output = dict() # type: Dict[str, Dict] output = dict() # type: Dict[str, Dict]
# holds the current pool name # holds the current pool name

Loading…
Cancel
Save