diff options
-rw-r--r-- | sandboxlib/__init__.py | 2 | ||||
-rw-r--r-- | sandboxlib/load/appc.py | 1 | ||||
-rw-r--r-- | sandboxlib/utils.py | 3 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sandboxlib/__init__.py b/sandboxlib/__init__.py index 3571eb6..beaf7b2 100644 --- a/sandboxlib/__init__.py +++ b/sandboxlib/__init__.py @@ -161,7 +161,7 @@ def executor_for_platform(): if 'SANDBOXLIB_BACKEND' in os.environ: backend_name = os.environ['SANDBOXLIB_BACKEND'] - logging.info("Got %s from SANDBOXLIB_BACKEND variable.", backend_name) + log.info("Got %s from SANDBOXLIB_BACKEND variable.", backend_name) try: backend = get_executor(backend_name) except KeyError: diff --git a/sandboxlib/load/appc.py b/sandboxlib/load/appc.py index 7cbafc1..fd1dd4c 100644 --- a/sandboxlib/load/appc.py +++ b/sandboxlib/load/appc.py @@ -18,7 +18,6 @@ import contextlib import json -import logging import os import shutil import tarfile diff --git a/sandboxlib/utils.py b/sandboxlib/utils.py index b3ec867..e9b049a 100644 --- a/sandboxlib/utils.py +++ b/sandboxlib/utils.py @@ -42,7 +42,8 @@ def find_program(program_name): argv = ['which', program_name] program_path = subprocess.check_output(argv).strip() except subprocess.CalledProcessError as e: - logging.debug("Error searching for %s: %s", program_name, e) + log = logging.getLogger('sandboxlib') + log.debug("Error searching for %s: %s", program_name, e) program_path = None if program_path is None: |