fix to periodically update logs

Signed-off-by: Zarrar Shehzad <czarrar@gmail.com>
Merge pull request #185 from czarrar/logs

fix to periodically update logs