Commit 96117c5d02ff650b7ab3149c3a74777fbd89d2c4
Merge pull request #175 from mykhaly/log_level
Add --loglevel trace:info to standard command args
Showing
1 changed file
with
2 additions
and
0 deletions
@@ -13,5 +13,7 @@ def runner(): | @@ -13,5 +13,7 @@ def runner(): | ||
13 | if not os.path.exists(directory): | 13 | if not os.path.exists(directory): |
14 | os.mkdir(directory) | 14 | os.mkdir(directory) |
15 | args += ['-d', directory] | 15 | args += ['-d', directory] |
16 | + if '-L' not in args and '--loglevel' not in args: | ||
17 | + args += ['--loglevel', 'trace:info'] | ||
16 | args.append(os.path.join(os.path.dirname(__file__), 'tests_files')) | 18 | args.append(os.path.join(os.path.dirname(__file__), 'tests_files')) |
17 | return run_cli(args) | 19 | return run_cli(args) |
Please
register
or
login
to post a comment