mirror of
https://github.com/r4sas/py-i2phosts
synced 2025-01-08 22:07:55 +00:00
py-i2phosts-maint: add log message
This commit is contained in:
parent
e48e67705f
commit
67ae54ab91
@ -60,6 +60,7 @@ else:
|
||||
log = get_logger(filename=log_file, log_level=log_level)
|
||||
|
||||
all_hosts = i2phost.objects.all()
|
||||
log.info('starting maintaince')
|
||||
for host in all_hosts:
|
||||
# how long host was added
|
||||
dl = datetime.datetime.now() - host.date_added
|
||||
|
Loading…
Reference in New Issue
Block a user