Improve logs pagination