Skip to content

Commit

Permalink
Propagate log level when creating driver manager (#212)
Browse files Browse the repository at this point in the history
  • Loading branch information
Daemo00 authored Aug 1, 2021
1 parent 4743ac8 commit d38713d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webdriver_manager/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class DriverManager(object):
def __init__(self, root_dir=None, log_level=None, print_first_line=None, cache_valid_range=1):
self.driver_cache = DriverCache(root_dir, cache_valid_range)
if os.environ.get('WDM_PRINT_FIRST_LINE', str(print_first_line)) == 'True':
log("\n", formatter='%(message)s')
log("\n", formatter='%(message)s', level=log_level)
log("====== WebDriver manager ======", level=log_level)

def install(self):
Expand Down

0 comments on commit d38713d

Please sign in to comment.