mirror of
https://github.com/r4sas/py-i2phosts
synced 2025-02-08 21:04:17 +00:00
py-i2phosts-checker: stop using check_logger_options()
This commit is contained in:
parent
2b898422f1
commit
7550b01e05
@ -57,7 +57,8 @@ elif args.verbose == True:
|
||||
log_level = 'info'
|
||||
log_file = None
|
||||
else:
|
||||
log_file, log_level = check_logger_options(config)
|
||||
log_level = config['log_level']
|
||||
log_file = config['log_file']
|
||||
log = get_logger(filename=log_file, log_level=log_level)
|
||||
|
||||
# determine SAM interface address
|
||||
|
Loading…
x
Reference in New Issue
Block a user