mirror of
https://github.com/r4sas/py-i2phosts
synced 2025-01-24 05:25:03 +00:00
py-i2phosts-checker: bugfix: pass log_file when creating a logger
This commit is contained in:
parent
610245adcf
commit
c505b2ce68
@ -46,7 +46,7 @@ if args.debug == True:
|
|||||||
else:
|
else:
|
||||||
log_level = config['log_level']
|
log_level = config['log_level']
|
||||||
log_file = config['log_file']
|
log_file = config['log_file']
|
||||||
log = get_logger(log_level=log_level)
|
log = get_logger(filename=log_file, log_level=log_level)
|
||||||
|
|
||||||
all_hosts = i2phost.objects.all()
|
all_hosts = i2phost.objects.all()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user