mirror of
https://github.com/r4sas/py-i2phosts
synced 2025-01-08 22:07:55 +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:
|
||||
log_level = config['log_level']
|
||||
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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user