diff options
| -rwxr-xr-x | mat2 | 2 | ||||
| -rw-r--r-- | tests/test_corrupted_files.py | 2 |
2 files changed, 2 insertions, 2 deletions
| @@ -186,7 +186,7 @@ def main() -> int: | |||
| 186 | args = arg_parser.parse_args() | 186 | args = arg_parser.parse_args() |
| 187 | 187 | ||
| 188 | if args.verbose: | 188 | if args.verbose: |
| 189 | logging.getLogger().setLevel(logging.DEBUG) | 189 | logging.getLogger(__name__).setLevel(logging.DEBUG) |
| 190 | 190 | ||
| 191 | if not args.files: | 191 | if not args.files: |
| 192 | if args.list: | 192 | if args.list: |
diff --git a/tests/test_corrupted_files.py b/tests/test_corrupted_files.py index 2adf42e..639145c 100644 --- a/tests/test_corrupted_files.py +++ b/tests/test_corrupted_files.py | |||
| @@ -14,7 +14,7 @@ from libmat2 import harmless, video, web, archive | |||
| 14 | 14 | ||
| 15 | # No need to logging messages, should something go wrong, | 15 | # No need to logging messages, should something go wrong, |
| 16 | # the testsuite _will_ fail. | 16 | # the testsuite _will_ fail. |
| 17 | logger = logging.getLogger() | 17 | logger = logging.getLogger(__name__) |
| 18 | logger.setLevel(logging.FATAL) | 18 | logger.setLevel(logging.FATAL) |
| 19 | 19 | ||
| 20 | 20 | ||
