added log tail polling