fetching logs every 10 seconds