fetching logs every 3 seconds