From 6683ae110ecb8e15840e085307ac93399e2602ca Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Thu, 28 Jan 2021 16:51:34 -0800 Subject: [PATCH] Use vlogging's main_fallback name feature. --- ffstreams.py | 2 +- hash_hardlink.py | 2 +- rarpar.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ffstreams.py b/ffstreams.py index 06a4c02..d8083d0 100644 --- a/ffstreams.py +++ b/ffstreams.py @@ -8,7 +8,7 @@ from voussoirkit import winglob from voussoirkit import winwhich from voussoirkit import vlogging -log = vlogging.getLogger(__name__) +log = vlogging.getLogger(__name__, 'ffstreams') AUDIO_EXTENSIONS = { 'aac': 'm4a', diff --git a/hash_hardlink.py b/hash_hardlink.py index 02cc8b2..1d0bca2 100644 --- a/hash_hardlink.py +++ b/hash_hardlink.py @@ -10,7 +10,7 @@ from voussoirkit import pipeable from voussoirkit import spinal from voussoirkit import vlogging -log = vlogging.getLogger(__name__) +log = vlogging.getLogger(__name__, 'hash_hardlink') def hash_file(file): hasher = hashlib.md5() diff --git a/rarpar.py b/rarpar.py index 9ebd356..34d8fcd 100644 --- a/rarpar.py +++ b/rarpar.py @@ -15,7 +15,7 @@ from voussoirkit import vlogging from voussoirkit import winglob from voussoirkit import winwhich -log = vlogging.getLogger(__name__) +log = vlogging.getLogger(__name__, 'rarpar') WINRAR = winwhich.which('winrar') PAR2 = winwhich.which('phpar2')