1
0
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:
Hidden Z 2010-11-02 17:08:24 +00:00
parent e48e67705f
commit 67ae54ab91

View File

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