Changed to log every 5 seconds.