public PaginatedLogMessage getPaginatedBottomUpLogMessage(int pageNumber, String type,
String keyword, String logFile, int maxLines, int start, int end, String tenantDomain, String serviceName) throws Exception {
List<LogMessage> logMsgList = Arrays.asList(LoggingUtil.getBottomUpTenantLogs(type,
keyword, logFile, maxLines, start, end,tenantDomain, serviceName));
PaginatedLogMessage paginatedLogMessage = new PaginatedLogMessage();
LoggingUtil.doPaging(pageNumber, logMsgList, maxLines, paginatedLogMessage);
return paginatedLogMessage;
}