Pagination for logs implemented.