We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3de400e commit 7a236fdCopy full SHA for 7a236fd
dvr_scan/__main__.py
@@ -32,6 +32,10 @@ def main():
32
if settings is None:
33
sys.exit(EXIT_ERROR)
34
logger = logging.getLogger("dvr_scan")
35
+ # TODO(1.7): The logging redirect does not respect the original log level, which is now set to
36
+ # DEBUG mode for rolling log files.
37
+ # We might have to just roll our own instead of relying on this one.
38
+ # TODO: Use Python __debug__ mode instead of hard-coding as config option.
39
debug_mode = settings.get("debug")
40
show_traceback = getattr(logging, settings.get("verbosity").upper()) == logging.DEBUG
41
with logging_redirect_tqdm(loggers=[logger]):
0 commit comments