1
0
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:
Hidden Z 2010-10-30 18:54:25 +00:00
parent 610245adcf
commit c505b2ce68

View File

@ -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()