|
|
4f68fd |
From d300f82f76f8a01a49c406b3549edbb7d799c8e2 Mon Sep 17 00:00:00 2001
|
|
|
4f68fd |
From: David Lehman <dlehman@redhat.com>
|
|
|
4f68fd |
Date: Mon, 25 Mar 2019 14:42:08 -0400
|
|
|
4f68fd |
Subject: [PATCH 6/8] Update logging facility to match new package name.
|
|
|
4f68fd |
|
|
|
4f68fd |
---
|
|
|
4f68fd |
blivet3/__init__.py | 2 +-
|
|
|
4f68fd |
blivet3/actionlist.py | 2 +-
|
|
|
4f68fd |
blivet3/arch.py | 2 +-
|
|
|
4f68fd |
blivet3/blivet.py | 2 +-
|
|
|
4f68fd |
blivet3/deviceaction.py | 2 +-
|
|
|
4f68fd |
blivet3/devicefactory.py | 2 +-
|
|
|
4f68fd |
blivet3/devicelibs/btrfs.py | 2 +-
|
|
|
4f68fd |
blivet3/devicelibs/crypto.py | 2 +-
|
|
|
4f68fd |
blivet3/devicelibs/edd.py | 2 +-
|
|
|
4f68fd |
blivet3/devicelibs/lvm.py | 2 +-
|
|
|
4f68fd |
blivet3/devicelibs/mdraid.py | 2 +-
|
|
|
4f68fd |
blivet3/devices/btrfs.py | 2 +-
|
|
|
4f68fd |
blivet3/devices/container.py | 2 +-
|
|
|
4f68fd |
blivet3/devices/device.py | 2 +-
|
|
|
4f68fd |
blivet3/devices/disk.py | 2 +-
|
|
|
4f68fd |
blivet3/devices/dm.py | 2 +-
|
|
|
4f68fd |
blivet3/devices/file.py | 2 +-
|
|
|
4f68fd |
blivet3/devices/loop.py | 2 +-
|
|
|
4f68fd |
blivet3/devices/luks.py | 2 +-
|
|
|
4f68fd |
blivet3/devices/lvm.py | 2 +-
|
|
|
4f68fd |
blivet3/devices/md.py | 2 +-
|
|
|
4f68fd |
blivet3/devices/nfs.py | 2 +-
|
|
|
4f68fd |
blivet3/devices/nodev.py | 2 +-
|
|
|
4f68fd |
blivet3/devices/optical.py | 2 +-
|
|
|
4f68fd |
blivet3/devices/partition.py | 2 +-
|
|
|
4f68fd |
blivet3/devices/storage.py | 4 ++--
|
|
|
4f68fd |
blivet3/devicetree.py | 2 +-
|
|
|
4f68fd |
blivet3/events/handler.py | 4 ++--
|
|
|
4f68fd |
blivet3/events/manager.py | 2 +-
|
|
|
4f68fd |
blivet3/fcoe.py | 2 +-
|
|
|
4f68fd |
blivet3/formats/__init__.py | 2 +-
|
|
|
4f68fd |
blivet3/formats/disklabel.py | 2 +-
|
|
|
4f68fd |
blivet3/formats/dmraid.py | 2 +-
|
|
|
4f68fd |
blivet3/formats/fs.py | 2 +-
|
|
|
4f68fd |
blivet3/formats/luks.py | 2 +-
|
|
|
4f68fd |
blivet3/formats/lvmpv.py | 2 +-
|
|
|
4f68fd |
blivet3/formats/mdraid.py | 2 +-
|
|
|
4f68fd |
blivet3/formats/multipath.py | 2 +-
|
|
|
4f68fd |
blivet3/formats/prepboot.py | 2 +-
|
|
|
4f68fd |
blivet3/formats/swap.py | 2 +-
|
|
|
4f68fd |
blivet3/iscsi.py | 2 +-
|
|
|
4f68fd |
blivet3/mounts.py | 2 +-
|
|
|
4f68fd |
blivet3/partitioning.py | 2 +-
|
|
|
4f68fd |
blivet3/populator/helpers/btrfs.py | 2 +-
|
|
|
4f68fd |
blivet3/populator/helpers/disk.py | 2 +-
|
|
|
4f68fd |
blivet3/populator/helpers/disklabel.py | 2 +-
|
|
|
4f68fd |
blivet3/populator/helpers/dm.py | 2 +-
|
|
|
4f68fd |
blivet3/populator/helpers/dmraid.py | 2 +-
|
|
|
4f68fd |
blivet3/populator/helpers/formatpopulator.py | 2 +-
|
|
|
4f68fd |
blivet3/populator/helpers/luks.py | 2 +-
|
|
|
4f68fd |
blivet3/populator/helpers/lvm.py | 2 +-
|
|
|
4f68fd |
blivet3/populator/helpers/mdraid.py | 2 +-
|
|
|
4f68fd |
blivet3/populator/helpers/multipath.py | 2 +-
|
|
|
4f68fd |
blivet3/populator/helpers/partition.py | 2 +-
|
|
|
4f68fd |
blivet3/populator/populator.py | 2 +-
|
|
|
4f68fd |
blivet3/static_data/lvm_info.py | 2 +-
|
|
|
4f68fd |
blivet3/static_data/mpath_info.py | 2 +-
|
|
|
4f68fd |
blivet3/static_data/nvdimm.py | 2 +-
|
|
|
4f68fd |
blivet3/storage_log.py | 2 +-
|
|
|
4f68fd |
blivet3/tasks/availability.py | 2 +-
|
|
|
4f68fd |
blivet3/udev.py | 2 +-
|
|
|
4f68fd |
blivet3/util.py | 8 ++++----
|
|
|
4f68fd |
blivet3/zfcp.py | 2 +-
|
|
|
4f68fd |
63 files changed, 68 insertions(+), 68 deletions(-)
|
|
|
4f68fd |
|
|
|
4f68fd |
diff --git a/blivet3/__init__.py b/blivet3/__init__.py
|
|
|
4f68fd |
index 902d3df9..eef67eb0 100644
|
|
|
4f68fd |
--- a/blivet3/__init__.py
|
|
|
4f68fd |
+++ b/blivet3/__init__.py
|
|
|
4f68fd |
@@ -30,7 +30,7 @@ import syslog
|
|
|
4f68fd |
from . import util, arch
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
program_log = logging.getLogger("program")
|
|
|
4f68fd |
testdata_log = logging.getLogger("testdata")
|
|
|
4f68fd |
|
|
|
4f68fd |
diff --git a/blivet3/actionlist.py b/blivet3/actionlist.py
|
|
|
4f68fd |
index d03e32b9..89a7007e 100644
|
|
|
4f68fd |
--- a/blivet3/actionlist.py
|
|
|
4f68fd |
+++ b/blivet3/actionlist.py
|
|
|
4f68fd |
@@ -35,7 +35,7 @@ from . import tsort
|
|
|
4f68fd |
from .threads import blivet_lock, SynchronizedMeta
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
|
|
|
4f68fd |
def with_flag(flag_attr):
|
|
|
4f68fd |
diff --git a/blivet3/arch.py b/blivet3/arch.py
|
|
|
4f68fd |
index 55ce8108..9645ba06 100644
|
|
|
4f68fd |
--- a/blivet3/arch.py
|
|
|
4f68fd |
+++ b/blivet3/arch.py
|
|
|
4f68fd |
@@ -36,7 +36,7 @@ import os
|
|
|
4f68fd |
from .storage_log import log_exception_info
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
# DMI information paths
|
|
|
4f68fd |
DMI_CHASSIS_VENDOR = "/sys/class/dmi/id/chassis_vendor"
|
|
|
4f68fd |
diff --git a/blivet3/blivet.py b/blivet3/blivet.py
|
|
|
4f68fd |
index 8128347f..b1c42eff 100644
|
|
|
4f68fd |
--- a/blivet3/blivet.py
|
|
|
4f68fd |
+++ b/blivet3/blivet.py
|
|
|
4f68fd |
@@ -49,7 +49,7 @@ from .threads import SynchronizedMeta
|
|
|
4f68fd |
from .static_data import luks_data
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
|
|
|
4f68fd |
@six.add_metaclass(SynchronizedMeta)
|
|
|
4f68fd |
diff --git a/blivet3/deviceaction.py b/blivet3/deviceaction.py
|
|
|
4f68fd |
index 14a06ff0..0b50dfca 100644
|
|
|
4f68fd |
--- a/blivet3/deviceaction.py
|
|
|
4f68fd |
+++ b/blivet3/deviceaction.py
|
|
|
4f68fd |
@@ -39,7 +39,7 @@ from .threads import SynchronizedMeta
|
|
|
4f68fd |
from .static_data import luks_data
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
# The values are just hints as to the ordering.
|
|
|
4f68fd |
# Eg: fsmod and devmod ordering depends on the mod (shrink -v- grow)
|
|
|
4f68fd |
diff --git a/blivet3/devicefactory.py b/blivet3/devicefactory.py
|
|
|
4f68fd |
index a15b60c9..76a48423 100644
|
|
|
4f68fd |
--- a/blivet3/devicefactory.py
|
|
|
4f68fd |
+++ b/blivet3/devicefactory.py
|
|
|
4f68fd |
@@ -46,7 +46,7 @@ gi.require_version("BlockDev", "2.0")
|
|
|
4f68fd |
from gi.repository import BlockDev as blockdev
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
# policy value of >0 is a fixed size request
|
|
|
4f68fd |
SIZE_POLICY_MAX = -1
|
|
|
4f68fd |
diff --git a/blivet3/devicelibs/btrfs.py b/blivet3/devicelibs/btrfs.py
|
|
|
4f68fd |
index b70dae28..00aa7669 100644
|
|
|
4f68fd |
--- a/blivet3/devicelibs/btrfs.py
|
|
|
4f68fd |
+++ b/blivet3/devicelibs/btrfs.py
|
|
|
4f68fd |
@@ -25,7 +25,7 @@ from ..size import Size
|
|
|
4f68fd |
from ..tasks import availability
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
# this is the volume id btrfs always assigns to the top-level volume/tree
|
|
|
4f68fd |
MAIN_VOLUME_ID = 5
|
|
|
4f68fd |
diff --git a/blivet3/devicelibs/crypto.py b/blivet3/devicelibs/crypto.py
|
|
|
4f68fd |
index 897dd9a8..0156be84 100644
|
|
|
4f68fd |
--- a/blivet3/devicelibs/crypto.py
|
|
|
4f68fd |
+++ b/blivet3/devicelibs/crypto.py
|
|
|
4f68fd |
@@ -30,7 +30,7 @@ from ..tasks import availability
|
|
|
4f68fd |
from ..util import total_memory, available_memory
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
LUKS_METADATA_SIZE = Size("2 MiB")
|
|
|
4f68fd |
MIN_CREATE_ENTROPY = 256 # bits
|
|
|
4f68fd |
diff --git a/blivet3/devicelibs/edd.py b/blivet3/devicelibs/edd.py
|
|
|
4f68fd |
index d099b202..2bed1950 100644
|
|
|
4f68fd |
--- a/blivet3/devicelibs/edd.py
|
|
|
4f68fd |
+++ b/blivet3/devicelibs/edd.py
|
|
|
4f68fd |
@@ -31,7 +31,7 @@ import copy
|
|
|
4f68fd |
|
|
|
4f68fd |
from .. import util
|
|
|
4f68fd |
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
testdata_log = logging.getLogger("testdata")
|
|
|
4f68fd |
testdata_log.setLevel(logging.DEBUG)
|
|
|
4f68fd |
|
|
|
4f68fd |
diff --git a/blivet3/devicelibs/lvm.py b/blivet3/devicelibs/lvm.py
|
|
|
4f68fd |
index 0295332e..3b812edf 100644
|
|
|
4f68fd |
--- a/blivet3/devicelibs/lvm.py
|
|
|
4f68fd |
+++ b/blivet3/devicelibs/lvm.py
|
|
|
4f68fd |
@@ -32,7 +32,7 @@ gi.require_version("BlockDev", "2.0")
|
|
|
4f68fd |
from gi.repository import BlockDev as blockdev
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
from . import raid
|
|
|
4f68fd |
from ..size import Size
|
|
|
4f68fd |
diff --git a/blivet3/devicelibs/mdraid.py b/blivet3/devicelibs/mdraid.py
|
|
|
4f68fd |
index 8b16105b..e64f8cdb 100644
|
|
|
4f68fd |
--- a/blivet3/devicelibs/mdraid.py
|
|
|
4f68fd |
+++ b/blivet3/devicelibs/mdraid.py
|
|
|
4f68fd |
@@ -25,7 +25,7 @@ from . import raid
|
|
|
4f68fd |
from ..tasks import availability
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
# these defaults were determined empirically
|
|
|
4f68fd |
MD_SUPERBLOCK_SIZE = Size("2 MiB")
|
|
|
4f68fd |
diff --git a/blivet3/devices/btrfs.py b/blivet3/devices/btrfs.py
|
|
|
4f68fd |
index edb82478..4182de76 100644
|
|
|
4f68fd |
--- a/blivet3/devices/btrfs.py
|
|
|
4f68fd |
+++ b/blivet3/devices/btrfs.py
|
|
|
4f68fd |
@@ -40,7 +40,7 @@ from ..formats import get_format, DeviceFormat
|
|
|
4f68fd |
from ..size import Size
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
from .storage import StorageDevice
|
|
|
4f68fd |
from .container import ContainerDevice
|
|
|
4f68fd |
diff --git a/blivet3/devices/container.py b/blivet3/devices/container.py
|
|
|
4f68fd |
index a54d5bae..8c8106e9 100644
|
|
|
4f68fd |
--- a/blivet3/devices/container.py
|
|
|
4f68fd |
+++ b/blivet3/devices/container.py
|
|
|
4f68fd |
@@ -29,7 +29,7 @@ from ..formats import get_device_format_class
|
|
|
4f68fd |
from ..threads import SynchronizedABCMeta
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
from .storage import StorageDevice
|
|
|
4f68fd |
|
|
|
4f68fd |
diff --git a/blivet3/devices/device.py b/blivet3/devices/device.py
|
|
|
4f68fd |
index 392cb77c..26519c7f 100644
|
|
|
4f68fd |
--- a/blivet3/devices/device.py
|
|
|
4f68fd |
+++ b/blivet3/devices/device.py
|
|
|
4f68fd |
@@ -28,7 +28,7 @@ from ..storage_log import log_method_call
|
|
|
4f68fd |
from ..threads import SynchronizedMeta
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
from .lib import ParentList
|
|
|
4f68fd |
|
|
|
4f68fd |
diff --git a/blivet3/devices/disk.py b/blivet3/devices/disk.py
|
|
|
4f68fd |
index 30611195..919d207d 100644
|
|
|
4f68fd |
--- a/blivet3/devices/disk.py
|
|
|
4f68fd |
+++ b/blivet3/devices/disk.py
|
|
|
4f68fd |
@@ -39,7 +39,7 @@ from ..tasks import availability
|
|
|
4f68fd |
from ..fcoe import fcoe
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
from .lib import Tags
|
|
|
4f68fd |
from .storage import StorageDevice
|
|
|
4f68fd |
diff --git a/blivet3/devices/dm.py b/blivet3/devices/dm.py
|
|
|
4f68fd |
index 508a6f89..45e011d6 100644
|
|
|
4f68fd |
--- a/blivet3/devices/dm.py
|
|
|
4f68fd |
+++ b/blivet3/devices/dm.py
|
|
|
4f68fd |
@@ -34,7 +34,7 @@ from .. import udev
|
|
|
4f68fd |
from ..tasks import availability
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
from .storage import StorageDevice
|
|
|
4f68fd |
from .lib import LINUX_SECTOR_SIZE, get_majors_by_device_type
|
|
|
4f68fd |
diff --git a/blivet3/devices/file.py b/blivet3/devices/file.py
|
|
|
4f68fd |
index fa3dfb8a..b45ad0dd 100644
|
|
|
4f68fd |
--- a/blivet3/devices/file.py
|
|
|
4f68fd |
+++ b/blivet3/devices/file.py
|
|
|
4f68fd |
@@ -28,7 +28,7 @@ from ..storage_log import log_method_call
|
|
|
4f68fd |
from ..size import Size
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
from .storage import StorageDevice
|
|
|
4f68fd |
|
|
|
4f68fd |
diff --git a/blivet3/devices/loop.py b/blivet3/devices/loop.py
|
|
|
4f68fd |
index 78f88d7d..688856df 100644
|
|
|
4f68fd |
--- a/blivet3/devices/loop.py
|
|
|
4f68fd |
+++ b/blivet3/devices/loop.py
|
|
|
4f68fd |
@@ -31,7 +31,7 @@ from ..storage_log import log_method_call
|
|
|
4f68fd |
from ..tasks import availability
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
from .storage import StorageDevice
|
|
|
4f68fd |
|
|
|
4f68fd |
diff --git a/blivet3/devices/luks.py b/blivet3/devices/luks.py
|
|
|
4f68fd |
index dff12739..0a4d34ab 100644
|
|
|
4f68fd |
--- a/blivet3/devices/luks.py
|
|
|
4f68fd |
+++ b/blivet3/devices/luks.py
|
|
|
4f68fd |
@@ -27,7 +27,7 @@ from ..size import Size
|
|
|
4f68fd |
from ..tasks import availability
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
from .storage import StorageDevice
|
|
|
4f68fd |
from .dm import DMCryptDevice, DMIntegrityDevice
|
|
|
4f68fd |
diff --git a/blivet3/devices/lvm.py b/blivet3/devices/lvm.py
|
|
|
4f68fd |
index fa537597..a92063b0 100644
|
|
|
4f68fd |
--- a/blivet3/devices/lvm.py
|
|
|
4f68fd |
+++ b/blivet3/devices/lvm.py
|
|
|
4f68fd |
@@ -46,7 +46,7 @@ from ..size import Size, KiB, MiB, ROUND_UP, ROUND_DOWN
|
|
|
4f68fd |
from ..tasks import availability
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
from .lib import LINUX_SECTOR_SIZE, ParentList
|
|
|
4f68fd |
from .device import Device
|
|
|
4f68fd |
diff --git a/blivet3/devices/md.py b/blivet3/devices/md.py
|
|
|
4f68fd |
index 6a837df0..5ba8f972 100644
|
|
|
4f68fd |
--- a/blivet3/devices/md.py
|
|
|
4f68fd |
+++ b/blivet3/devices/md.py
|
|
|
4f68fd |
@@ -40,7 +40,7 @@ from ..size import Size
|
|
|
4f68fd |
from ..tasks import availability
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
from .storage import StorageDevice
|
|
|
4f68fd |
from .container import ContainerDevice
|
|
|
4f68fd |
diff --git a/blivet3/devices/nfs.py b/blivet3/devices/nfs.py
|
|
|
4f68fd |
index a0142f91..81ce8739 100644
|
|
|
4f68fd |
--- a/blivet3/devices/nfs.py
|
|
|
4f68fd |
+++ b/blivet3/devices/nfs.py
|
|
|
4f68fd |
@@ -22,7 +22,7 @@
|
|
|
4f68fd |
from ..storage_log import log_method_call
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
from .storage import StorageDevice
|
|
|
4f68fd |
from .network import NetworkStorageDevice
|
|
|
4f68fd |
diff --git a/blivet3/devices/nodev.py b/blivet3/devices/nodev.py
|
|
|
4f68fd |
index f1b87392..0fdb5f75 100644
|
|
|
4f68fd |
--- a/blivet3/devices/nodev.py
|
|
|
4f68fd |
+++ b/blivet3/devices/nodev.py
|
|
|
4f68fd |
@@ -22,7 +22,7 @@
|
|
|
4f68fd |
from ..storage_log import log_method_call
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
from ..size import Size
|
|
|
4f68fd |
from .storage import StorageDevice
|
|
|
4f68fd |
diff --git a/blivet3/devices/optical.py b/blivet3/devices/optical.py
|
|
|
4f68fd |
index b9dba1f2..54d2ad97 100644
|
|
|
4f68fd |
--- a/blivet3/devices/optical.py
|
|
|
4f68fd |
+++ b/blivet3/devices/optical.py
|
|
|
4f68fd |
@@ -26,7 +26,7 @@ from .. import util
|
|
|
4f68fd |
from ..storage_log import log_method_call
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
from .storage import StorageDevice
|
|
|
4f68fd |
|
|
|
4f68fd |
diff --git a/blivet3/devices/partition.py b/blivet3/devices/partition.py
|
|
|
4f68fd |
index 623e1c9d..56f8f5d3 100644
|
|
|
4f68fd |
--- a/blivet3/devices/partition.py
|
|
|
4f68fd |
+++ b/blivet3/devices/partition.py
|
|
|
4f68fd |
@@ -38,7 +38,7 @@ from ..formats import DeviceFormat, get_format
|
|
|
4f68fd |
from ..size import Size, MiB
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
from .device import Device
|
|
|
4f68fd |
from .storage import StorageDevice
|
|
|
4f68fd |
diff --git a/blivet3/devices/storage.py b/blivet3/devices/storage.py
|
|
|
4f68fd |
index 904b60df..df4e9943 100644
|
|
|
4f68fd |
--- a/blivet3/devices/storage.py
|
|
|
4f68fd |
+++ b/blivet3/devices/storage.py
|
|
|
4f68fd |
@@ -34,7 +34,7 @@ from ..formats import get_format, DeviceFormat
|
|
|
4f68fd |
from ..size import Size
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
from .device import Device
|
|
|
4f68fd |
from .network import NetworkStorageDevice
|
|
|
4f68fd |
@@ -54,7 +54,7 @@ class StorageDevice(Device):
|
|
|
4f68fd |
_resizable = False
|
|
|
4f68fd |
"""Whether this type of device is inherently resizable."""
|
|
|
4f68fd |
|
|
|
4f68fd |
- _type = "blivet"
|
|
|
4f68fd |
+ _type = "blivet3"
|
|
|
4f68fd |
_dev_dir = "/dev"
|
|
|
4f68fd |
_format_immutable = False
|
|
|
4f68fd |
_partitionable = False
|
|
|
4f68fd |
diff --git a/blivet3/devicetree.py b/blivet3/devicetree.py
|
|
|
4f68fd |
index d8b98b3b..859ba42e 100644
|
|
|
4f68fd |
--- a/blivet3/devicetree.py
|
|
|
4f68fd |
+++ b/blivet3/devicetree.py
|
|
|
4f68fd |
@@ -46,7 +46,7 @@ from .storage_log import log_method_call, log_method_return
|
|
|
4f68fd |
from .threads import SynchronizedMeta
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
_LVM_DEVICE_CLASSES = (LVMLogicalVolumeDevice, LVMVolumeGroupDevice)
|
|
|
4f68fd |
|
|
|
4f68fd |
diff --git a/blivet3/events/handler.py b/blivet3/events/handler.py
|
|
|
4f68fd |
index f839e8c3..9c98616c 100644
|
|
|
4f68fd |
--- a/blivet3/events/handler.py
|
|
|
4f68fd |
+++ b/blivet3/events/handler.py
|
|
|
4f68fd |
@@ -33,8 +33,8 @@ from .changes import data as event_data
|
|
|
4f68fd |
from .manager import event_manager
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
-event_log = logging.getLogger("blivet.event")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
+event_log = logging.getLogger("blivet3.event")
|
|
|
4f68fd |
|
|
|
4f68fd |
|
|
|
4f68fd |
@add_metaclass(SynchronizedMeta)
|
|
|
4f68fd |
diff --git a/blivet3/events/manager.py b/blivet3/events/manager.py
|
|
|
4f68fd |
index f81efb8b..8d39abc3 100644
|
|
|
4f68fd |
--- a/blivet3/events/manager.py
|
|
|
4f68fd |
+++ b/blivet3/events/manager.py
|
|
|
4f68fd |
@@ -38,7 +38,7 @@ from ..flags import flags
|
|
|
4f68fd |
from .changes import disable_callbacks, enable_callbacks
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-event_log = logging.getLogger("blivet.event")
|
|
|
4f68fd |
+event_log = logging.getLogger("blivet3.event")
|
|
|
4f68fd |
|
|
|
4f68fd |
|
|
|
4f68fd |
def validate_cb(cb, kwargs=None, arg_count=None):
|
|
|
4f68fd |
diff --git a/blivet3/fcoe.py b/blivet3/fcoe.py
|
|
|
4f68fd |
index 3a1887dc..d3bc4188 100644
|
|
|
4f68fd |
--- a/blivet3/fcoe.py
|
|
|
4f68fd |
+++ b/blivet3/fcoe.py
|
|
|
4f68fd |
@@ -24,7 +24,7 @@ import logging
|
|
|
4f68fd |
import time
|
|
|
4f68fd |
import shutil
|
|
|
4f68fd |
from .i18n import _
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
_fcoe_module_loaded = False
|
|
|
4f68fd |
|
|
|
4f68fd |
diff --git a/blivet3/formats/__init__.py b/blivet3/formats/__init__.py
|
|
|
4f68fd |
index 83ea815d..92e48452 100644
|
|
|
4f68fd |
--- a/blivet3/formats/__init__.py
|
|
|
4f68fd |
+++ b/blivet3/formats/__init__.py
|
|
|
4f68fd |
@@ -50,7 +50,7 @@ from ..tasks import fsck
|
|
|
4f68fd |
from ..tasks import fsminsize
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
device_formats = {}
|
|
|
4f68fd |
|
|
|
4f68fd |
diff --git a/blivet3/formats/disklabel.py b/blivet3/formats/disklabel.py
|
|
|
4f68fd |
index 75867d6a..faaf80a2 100644
|
|
|
4f68fd |
--- a/blivet3/formats/disklabel.py
|
|
|
4f68fd |
+++ b/blivet3/formats/disklabel.py
|
|
|
4f68fd |
@@ -40,7 +40,7 @@ from . import DeviceFormat, register_device_format
|
|
|
4f68fd |
from ..size import Size
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
|
|
|
4f68fd |
class DiskLabel(DeviceFormat):
|
|
|
4f68fd |
diff --git a/blivet3/formats/dmraid.py b/blivet3/formats/dmraid.py
|
|
|
4f68fd |
index 2ba9dcfe..5a49c990 100644
|
|
|
4f68fd |
--- a/blivet3/formats/dmraid.py
|
|
|
4f68fd |
+++ b/blivet3/formats/dmraid.py
|
|
|
4f68fd |
@@ -27,7 +27,7 @@ from ..i18n import N_
|
|
|
4f68fd |
from . import DeviceFormat, register_device_format
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
|
|
|
4f68fd |
class DMRaidMember(DeviceFormat):
|
|
|
4f68fd |
diff --git a/blivet3/formats/fs.py b/blivet3/formats/fs.py
|
|
|
4f68fd |
index d59afabc..085b9e78 100644
|
|
|
4f68fd |
--- a/blivet3/formats/fs.py
|
|
|
4f68fd |
+++ b/blivet3/formats/fs.py
|
|
|
4f68fd |
@@ -58,7 +58,7 @@ from ..mounts import mounts_cache
|
|
|
4f68fd |
from .fslib import kernel_filesystems, update_kernel_filesystems
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
|
|
|
4f68fd |
class FS(DeviceFormat):
|
|
|
4f68fd |
diff --git a/blivet3/formats/luks.py b/blivet3/formats/luks.py
|
|
|
4f68fd |
index e80fd27f..a632bdc5 100644
|
|
|
4f68fd |
--- a/blivet3/formats/luks.py
|
|
|
4f68fd |
+++ b/blivet3/formats/luks.py
|
|
|
4f68fd |
@@ -38,7 +38,7 @@ from ..size import Size, KiB
|
|
|
4f68fd |
from ..static_data import luks_data
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
|
|
|
4f68fd |
class LUKS2PBKDFArgs(object):
|
|
|
4f68fd |
diff --git a/blivet3/formats/lvmpv.py b/blivet3/formats/lvmpv.py
|
|
|
4f68fd |
index e2e8428b..712d6d79 100644
|
|
|
4f68fd |
--- a/blivet3/formats/lvmpv.py
|
|
|
4f68fd |
+++ b/blivet3/formats/lvmpv.py
|
|
|
4f68fd |
@@ -39,7 +39,7 @@ from .. import udev
|
|
|
4f68fd |
from ..static_data.lvm_info import pvs_info
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
|
|
|
4f68fd |
class LVMPhysicalVolume(DeviceFormat):
|
|
|
4f68fd |
diff --git a/blivet3/formats/mdraid.py b/blivet3/formats/mdraid.py
|
|
|
4f68fd |
index 41ddef81..1d7b7a31 100644
|
|
|
4f68fd |
--- a/blivet3/formats/mdraid.py
|
|
|
4f68fd |
+++ b/blivet3/formats/mdraid.py
|
|
|
4f68fd |
@@ -33,7 +33,7 @@ from ..i18n import N_
|
|
|
4f68fd |
from ..tasks import availability
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
|
|
|
4f68fd |
class MDRaidMember(DeviceFormat):
|
|
|
4f68fd |
diff --git a/blivet3/formats/multipath.py b/blivet3/formats/multipath.py
|
|
|
4f68fd |
index 473208f0..4ff5cc4e 100644
|
|
|
4f68fd |
--- a/blivet3/formats/multipath.py
|
|
|
4f68fd |
+++ b/blivet3/formats/multipath.py
|
|
|
4f68fd |
@@ -30,7 +30,7 @@ from ..i18n import N_
|
|
|
4f68fd |
from . import DeviceFormat, register_device_format
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
|
|
|
4f68fd |
class MultipathMember(DeviceFormat):
|
|
|
4f68fd |
diff --git a/blivet3/formats/prepboot.py b/blivet3/formats/prepboot.py
|
|
|
4f68fd |
index 3ba24a77..c37f75e0 100644
|
|
|
4f68fd |
--- a/blivet3/formats/prepboot.py
|
|
|
4f68fd |
+++ b/blivet3/formats/prepboot.py
|
|
|
4f68fd |
@@ -27,7 +27,7 @@ from . import DeviceFormat, register_device_format
|
|
|
4f68fd |
from parted import PARTITION_PREP
|
|
|
4f68fd |
import os
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
|
|
|
4f68fd |
class PPCPRePBoot(DeviceFormat):
|
|
|
4f68fd |
diff --git a/blivet3/formats/swap.py b/blivet3/formats/swap.py
|
|
|
4f68fd |
index 36b50cb6..980beb62 100644
|
|
|
4f68fd |
--- a/blivet3/formats/swap.py
|
|
|
4f68fd |
+++ b/blivet3/formats/swap.py
|
|
|
4f68fd |
@@ -34,7 +34,7 @@ gi.require_version("BlockDev", "2.0")
|
|
|
4f68fd |
from gi.repository import BlockDev as blockdev
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
|
|
|
4f68fd |
class SwapSpace(DeviceFormat):
|
|
|
4f68fd |
diff --git a/blivet3/iscsi.py b/blivet3/iscsi.py
|
|
|
4f68fd |
index 74432505..53ed457e 100644
|
|
|
4f68fd |
--- a/blivet3/iscsi.py
|
|
|
4f68fd |
+++ b/blivet3/iscsi.py
|
|
|
4f68fd |
@@ -37,7 +37,7 @@ gi.require_version("GLib", "2.0")
|
|
|
4f68fd |
from gi.repository import GLib
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
# Note that stage2 copies all files under /sbin to /usr/sbin
|
|
|
4f68fd |
ISCSID = ""
|
|
|
4f68fd |
diff --git a/blivet3/mounts.py b/blivet3/mounts.py
|
|
|
4f68fd |
index 015a4fa0..1450c5e7 100644
|
|
|
4f68fd |
--- a/blivet3/mounts.py
|
|
|
4f68fd |
+++ b/blivet3/mounts.py
|
|
|
4f68fd |
@@ -25,7 +25,7 @@ from . import util
|
|
|
4f68fd |
from .devicelibs import btrfs
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
|
|
|
4f68fd |
class _MountinfoCache(object):
|
|
|
4f68fd |
diff --git a/blivet3/partitioning.py b/blivet3/partitioning.py
|
|
|
4f68fd |
index 42817072..d0f4f6e7 100644
|
|
|
4f68fd |
--- a/blivet3/partitioning.py
|
|
|
4f68fd |
+++ b/blivet3/partitioning.py
|
|
|
4f68fd |
@@ -37,7 +37,7 @@ from .i18n import _
|
|
|
4f68fd |
from .util import stringize, unicodeize, compare
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
|
|
|
4f68fd |
def partition_compare(part1, part2):
|
|
|
4f68fd |
diff --git a/blivet3/populator/helpers/btrfs.py b/blivet3/populator/helpers/btrfs.py
|
|
|
4f68fd |
index 787363d4..23dcf114 100644
|
|
|
4f68fd |
--- a/blivet3/populator/helpers/btrfs.py
|
|
|
4f68fd |
+++ b/blivet3/populator/helpers/btrfs.py
|
|
|
4f68fd |
@@ -27,7 +27,7 @@ from ...errors import DeviceTreeError
|
|
|
4f68fd |
from .formatpopulator import FormatPopulator
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
|
|
|
4f68fd |
class BTRFSFormatPopulator(FormatPopulator):
|
|
|
4f68fd |
diff --git a/blivet3/populator/helpers/disk.py b/blivet3/populator/helpers/disk.py
|
|
|
4f68fd |
index 776a7d05..197ab83b 100644
|
|
|
4f68fd |
--- a/blivet3/populator/helpers/disk.py
|
|
|
4f68fd |
+++ b/blivet3/populator/helpers/disk.py
|
|
|
4f68fd |
@@ -34,7 +34,7 @@ from ...storage_log import log_method_call
|
|
|
4f68fd |
from .devicepopulator import DevicePopulator
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
|
|
|
4f68fd |
class DiskDevicePopulator(DevicePopulator):
|
|
|
4f68fd |
diff --git a/blivet3/populator/helpers/disklabel.py b/blivet3/populator/helpers/disklabel.py
|
|
|
4f68fd |
index db10638e..9bc3a9c6 100644
|
|
|
4f68fd |
--- a/blivet3/populator/helpers/disklabel.py
|
|
|
4f68fd |
+++ b/blivet3/populator/helpers/disklabel.py
|
|
|
4f68fd |
@@ -30,7 +30,7 @@ from ...storage_log import log_exception_info, log_method_call
|
|
|
4f68fd |
from .formatpopulator import FormatPopulator
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
|
|
|
4f68fd |
class DiskLabelFormatPopulator(FormatPopulator):
|
|
|
4f68fd |
diff --git a/blivet3/populator/helpers/dm.py b/blivet3/populator/helpers/dm.py
|
|
|
4f68fd |
index 6de8ee81..478510fe 100644
|
|
|
4f68fd |
--- a/blivet3/populator/helpers/dm.py
|
|
|
4f68fd |
+++ b/blivet3/populator/helpers/dm.py
|
|
|
4f68fd |
@@ -27,7 +27,7 @@ from ...storage_log import log_method_call
|
|
|
4f68fd |
from .devicepopulator import DevicePopulator
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
|
|
|
4f68fd |
class DMDevicePopulator(DevicePopulator):
|
|
|
4f68fd |
diff --git a/blivet3/populator/helpers/dmraid.py b/blivet3/populator/helpers/dmraid.py
|
|
|
4f68fd |
index c8cc3a8e..e201af86 100644
|
|
|
4f68fd |
--- a/blivet3/populator/helpers/dmraid.py
|
|
|
4f68fd |
+++ b/blivet3/populator/helpers/dmraid.py
|
|
|
4f68fd |
@@ -32,7 +32,7 @@ from ...storage_log import log_method_call
|
|
|
4f68fd |
from .formatpopulator import FormatPopulator
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
|
|
|
4f68fd |
class DMRaidFormatPopulator(FormatPopulator):
|
|
|
4f68fd |
diff --git a/blivet3/populator/helpers/formatpopulator.py b/blivet3/populator/helpers/formatpopulator.py
|
|
|
4f68fd |
index e9f71650..c86d3ebf 100644
|
|
|
4f68fd |
--- a/blivet3/populator/helpers/formatpopulator.py
|
|
|
4f68fd |
+++ b/blivet3/populator/helpers/formatpopulator.py
|
|
|
4f68fd |
@@ -28,7 +28,7 @@ from ...errors import FSError
|
|
|
4f68fd |
from .populatorhelper import PopulatorHelper
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
|
|
|
4f68fd |
class FormatPopulator(PopulatorHelper):
|
|
|
4f68fd |
diff --git a/blivet3/populator/helpers/luks.py b/blivet3/populator/helpers/luks.py
|
|
|
4f68fd |
index 58106f9e..3cf34778 100644
|
|
|
4f68fd |
--- a/blivet3/populator/helpers/luks.py
|
|
|
4f68fd |
+++ b/blivet3/populator/helpers/luks.py
|
|
|
4f68fd |
@@ -34,7 +34,7 @@ from .formatpopulator import FormatPopulator
|
|
|
4f68fd |
from ...static_data import luks_data
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
|
|
|
4f68fd |
class LUKSDevicePopulator(DevicePopulator):
|
|
|
4f68fd |
diff --git a/blivet3/populator/helpers/lvm.py b/blivet3/populator/helpers/lvm.py
|
|
|
4f68fd |
index 9e79bbc0..4eb95157 100644
|
|
|
4f68fd |
--- a/blivet3/populator/helpers/lvm.py
|
|
|
4f68fd |
+++ b/blivet3/populator/helpers/lvm.py
|
|
|
4f68fd |
@@ -39,7 +39,7 @@ from .formatpopulator import FormatPopulator
|
|
|
4f68fd |
from ...static_data import lvs_info, pvs_info, vgs_info
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
|
|
|
4f68fd |
class LVMDevicePopulator(DevicePopulator):
|
|
|
4f68fd |
diff --git a/blivet3/populator/helpers/mdraid.py b/blivet3/populator/helpers/mdraid.py
|
|
|
4f68fd |
index 76aebf25..ec6b5b20 100644
|
|
|
4f68fd |
--- a/blivet3/populator/helpers/mdraid.py
|
|
|
4f68fd |
+++ b/blivet3/populator/helpers/mdraid.py
|
|
|
4f68fd |
@@ -38,7 +38,7 @@ from .devicepopulator import DevicePopulator
|
|
|
4f68fd |
from .formatpopulator import FormatPopulator
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
|
|
|
4f68fd |
class MDDevicePopulator(DevicePopulator):
|
|
|
4f68fd |
diff --git a/blivet3/populator/helpers/multipath.py b/blivet3/populator/helpers/multipath.py
|
|
|
4f68fd |
index 10c745bf..c1e11606 100644
|
|
|
4f68fd |
--- a/blivet3/populator/helpers/multipath.py
|
|
|
4f68fd |
+++ b/blivet3/populator/helpers/multipath.py
|
|
|
4f68fd |
@@ -27,7 +27,7 @@ from .devicepopulator import DevicePopulator
|
|
|
4f68fd |
from .formatpopulator import FormatPopulator
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
|
|
|
4f68fd |
class MultipathDevicePopulator(DevicePopulator):
|
|
|
4f68fd |
diff --git a/blivet3/populator/helpers/partition.py b/blivet3/populator/helpers/partition.py
|
|
|
4f68fd |
index f00323d1..7c7fe29b 100644
|
|
|
4f68fd |
--- a/blivet3/populator/helpers/partition.py
|
|
|
4f68fd |
+++ b/blivet3/populator/helpers/partition.py
|
|
|
4f68fd |
@@ -32,7 +32,7 @@ from ...storage_log import log_method_call
|
|
|
4f68fd |
from .devicepopulator import DevicePopulator
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
|
|
|
4f68fd |
class PartitionDevicePopulator(DevicePopulator):
|
|
|
4f68fd |
diff --git a/blivet3/populator/populator.py b/blivet3/populator/populator.py
|
|
|
4f68fd |
index cdb5b79f..8fd50e9c 100644
|
|
|
4f68fd |
--- a/blivet3/populator/populator.py
|
|
|
4f68fd |
+++ b/blivet3/populator/populator.py
|
|
|
4f68fd |
@@ -50,7 +50,7 @@ from ..static_data import lvs_info, pvs_info, vgs_info, luks_data, mpath_members
|
|
|
4f68fd |
from ..callbacks import callbacks
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
|
|
|
4f68fd |
def parted_exn_handler(exn_type, exn_options, exn_msg):
|
|
|
4f68fd |
diff --git a/blivet3/static_data/lvm_info.py b/blivet3/static_data/lvm_info.py
|
|
|
4f68fd |
index 42261f9b..1cad7aaa 100644
|
|
|
4f68fd |
--- a/blivet3/static_data/lvm_info.py
|
|
|
4f68fd |
+++ b/blivet3/static_data/lvm_info.py
|
|
|
4f68fd |
@@ -26,7 +26,7 @@ gi.require_version("BlockDev", "2.0")
|
|
|
4f68fd |
from gi.repository import BlockDev as blockdev
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
|
|
|
4f68fd |
class LVsInfo(object):
|
|
|
4f68fd |
diff --git a/blivet3/static_data/mpath_info.py b/blivet3/static_data/mpath_info.py
|
|
|
4f68fd |
index 49ba4709..092e033e 100644
|
|
|
4f68fd |
--- a/blivet3/static_data/mpath_info.py
|
|
|
4f68fd |
+++ b/blivet3/static_data/mpath_info.py
|
|
|
4f68fd |
@@ -25,7 +25,7 @@ gi.require_version("BlockDev", "2.0")
|
|
|
4f68fd |
from gi.repository import BlockDev as blockdev
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
from ..tasks import availability
|
|
|
4f68fd |
|
|
|
4f68fd |
diff --git a/blivet3/static_data/nvdimm.py b/blivet3/static_data/nvdimm.py
|
|
|
4f68fd |
index e0a24bf8..c7a315f6 100644
|
|
|
4f68fd |
--- a/blivet3/static_data/nvdimm.py
|
|
|
4f68fd |
+++ b/blivet3/static_data/nvdimm.py
|
|
|
4f68fd |
@@ -26,7 +26,7 @@ from gi.repository import GLib
|
|
|
4f68fd |
from .. import util
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
|
|
|
4f68fd |
class NVDIMMDependencyGuard(util.DependencyGuard):
|
|
|
4f68fd |
diff --git a/blivet3/storage_log.py b/blivet3/storage_log.py
|
|
|
4f68fd |
index 9e363f1c..bc2e3dc0 100644
|
|
|
4f68fd |
--- a/blivet3/storage_log.py
|
|
|
4f68fd |
+++ b/blivet3/storage_log.py
|
|
|
4f68fd |
@@ -5,7 +5,7 @@ import traceback
|
|
|
4f68fd |
|
|
|
4f68fd |
from .flags import flags
|
|
|
4f68fd |
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
log.addHandler(logging.NullHandler())
|
|
|
4f68fd |
|
|
|
4f68fd |
|
|
|
4f68fd |
diff --git a/blivet3/tasks/availability.py b/blivet3/tasks/availability.py
|
|
|
4f68fd |
index b6b5955a..8ad51a12 100644
|
|
|
4f68fd |
--- a/blivet3/tasks/availability.py
|
|
|
4f68fd |
+++ b/blivet3/tasks/availability.py
|
|
|
4f68fd |
@@ -32,7 +32,7 @@ from gi.repository import BlockDev as blockdev
|
|
|
4f68fd |
from gi.repository import GLib
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
CACHE_AVAILABILITY = True
|
|
|
4f68fd |
|
|
|
4f68fd |
diff --git a/blivet3/udev.py b/blivet3/udev.py
|
|
|
4f68fd |
index 51b69b76..96a199d8 100644
|
|
|
4f68fd |
--- a/blivet3/udev.py
|
|
|
4f68fd |
+++ b/blivet3/udev.py
|
|
|
4f68fd |
@@ -37,7 +37,7 @@ gi.require_version("BlockDev", "2.0")
|
|
|
4f68fd |
from gi.repository import BlockDev as blockdev
|
|
|
4f68fd |
|
|
|
4f68fd |
global_udev = pyudev.Context()
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
device_name_blacklist = []
|
|
|
4f68fd |
""" device name regexes to ignore; this should be empty by default """
|
|
|
4f68fd |
diff --git a/blivet3/util.py b/blivet3/util.py
|
|
|
4f68fd |
index 542bc93f..77dc528e 100644
|
|
|
4f68fd |
--- a/blivet3/util.py
|
|
|
4f68fd |
+++ b/blivet3/util.py
|
|
|
4f68fd |
@@ -28,10 +28,10 @@ from gi.repository import BlockDev as blockdev
|
|
|
4f68fd |
import six
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
program_log = logging.getLogger("program")
|
|
|
4f68fd |
testdata_log = logging.getLogger("testdata")
|
|
|
4f68fd |
-console_log = logging.getLogger("blivet.console")
|
|
|
4f68fd |
+console_log = logging.getLogger("blivet3.console")
|
|
|
4f68fd |
|
|
|
4f68fd |
from threading import Lock
|
|
|
4f68fd |
# this will get set to anaconda's program_log_lock in enable_installer_mode
|
|
|
4f68fd |
@@ -706,7 +706,7 @@ def dedup_list(alist):
|
|
|
4f68fd |
##
|
|
|
4f68fd |
|
|
|
4f68fd |
|
|
|
4f68fd |
-def set_up_logging(log_dir="/tmp", log_prefix="blivet", console_logs=None):
|
|
|
4f68fd |
+def set_up_logging(log_dir="/tmp", log_prefix="blivet3", console_logs=None):
|
|
|
4f68fd |
""" Configure the blivet logger to write out a log file.
|
|
|
4f68fd |
|
|
|
4f68fd |
:keyword str log_dir: path to directory where log files are
|
|
|
4f68fd |
@@ -763,7 +763,7 @@ def create_sparse_tempfile(name, size):
|
|
|
4f68fd |
:param :class:`~.size.Size` size: the file size
|
|
|
4f68fd |
:returns: the path to the newly created file
|
|
|
4f68fd |
"""
|
|
|
4f68fd |
- (fd, path) = tempfile.mkstemp(prefix="blivet.", suffix="-%s" % name)
|
|
|
4f68fd |
+ (fd, path) = tempfile.mkstemp(prefix="blivet3.", suffix="-%s" % name)
|
|
|
4f68fd |
os.close(fd)
|
|
|
4f68fd |
create_sparse_file(path, size)
|
|
|
4f68fd |
return path
|
|
|
4f68fd |
diff --git a/blivet3/zfcp.py b/blivet3/zfcp.py
|
|
|
4f68fd |
index 4e9bbac9..6a6c9736 100644
|
|
|
4f68fd |
--- a/blivet3/zfcp.py
|
|
|
4f68fd |
+++ b/blivet3/zfcp.py
|
|
|
4f68fd |
@@ -31,7 +31,7 @@ gi.require_version("BlockDev", "2.0")
|
|
|
4f68fd |
from gi.repository import BlockDev as blockdev
|
|
|
4f68fd |
|
|
|
4f68fd |
import logging
|
|
|
4f68fd |
-log = logging.getLogger("blivet")
|
|
|
4f68fd |
+log = logging.getLogger("blivet3")
|
|
|
4f68fd |
|
|
|
4f68fd |
|
|
|
4f68fd |
def logged_write_line_to_file(fn, value):
|
|
|
4f68fd |
--
|
|
|
4f68fd |
2.17.2
|
|
|
4f68fd |
|