Added pagination to message log.