diff --git a/src/simplezfs/zfs_native.py b/src/simplezfs/zfs_native.py index 703af2a..aeb830b 100644 --- a/src/simplezfs/zfs_native.py +++ b/src/simplezfs/zfs_native.py @@ -9,7 +9,7 @@ import logging from .types import Property from .zfs import ZFS -log = logging.getLogger('zfs.zfs_native') +log = logging.getLogger('simplezfs.zfs_native') class ZFSNative(ZFS): diff --git a/src/simplezfs/zpool_cli.py b/src/simplezfs/zpool_cli.py index dba087d..cea47ff 100644 --- a/src/simplezfs/zpool_cli.py +++ b/src/simplezfs/zpool_cli.py @@ -10,7 +10,7 @@ from typing import Any, Dict, Optional from .types import ZPoolHealth from .zpool import ZPool -log = logging.getLogger('zfs.zpool_cli') +log = logging.getLogger('simplezfs.zpool_cli') class ZPoolCli(ZPool): @@ -50,7 +50,7 @@ class ZPoolCli(ZPool): 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] # holds the current pool name