Added pagination to logs