public class LogViewer extends Object
Constructor and Description |
---|
LogViewer() |
public PaginatedLogFileInfo getPaginatedLogFileInfo(int pageNumber, String tenantDomain, String serviceName) throws LogViewerException
LogViewerException
public PaginatedLogFileInfo getLocalLogFiles(int pageNumber, String tenantDomain, String serverKey) throws LogViewerException
LogViewerException
public DataHandler downloadArchivedLogFiles(String logFile, String tenantDomain, String serverKey) throws LogViewerException
LogViewerException
public boolean isValidTenantDomain(String tenantDomain)
public String[] getServiceNames() throws LogViewerException
LogViewerException
public boolean isManager()
public boolean isValidTenant(String tenantDomain)
public String[] getLogLinesFromFile(String logFile, int maxLogs, int start, int end) throws LogViewerException
LogViewerException
public String[] getApplicationNames(String tenantDomain, String serverKey) throws LogViewerException
LogViewerException
public boolean isFileAppenderConfiguredForST()
public LogEvent[] getAllSystemLogs() throws LogViewerException
LogViewerException
public PaginatedLogEvent getPaginatedLogEvents(int pageNumber, String type, String keyword, String tenantDomain, String serverKey) throws LogViewerException
LogViewerException
public PaginatedLogEvent getPaginatedApplicationLogEvents(int pageNumber, String type, String keyword, String applicationName, String tenantDomain, String serverKey) throws LogViewerException
LogViewerException
public int getNoOfLogEvents(String tenantDomain, String serverKey) throws LogViewerException
LogViewerException
public LogEvent[] getLogs(String type, String keyword, String tenantDomain, String serverKey) throws LogViewerException
LogViewerException
public LogEvent[] getApplicationLogs(String type, String keyword, String appName, String tenantDomain, String serverKey) throws LogViewerException
LogViewerException
public boolean clearLogs()
Copyright © 2018 WSO2. All rights reserved.