added log paging functionality