public class LogViewerClient extends Object
| Modifier and Type | Field and Description |
|---|---|
org.wso2.carbon.logging.view.stub.LogViewerStub |
stub |
| Constructor and Description |
|---|
LogViewerClient(String cookie,
String backendServerURL,
org.apache.axis2.context.ConfigurationContext configCtx) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearLogs() |
void |
downloadArchivedLogFiles(String logFile,
javax.servlet.http.HttpServletResponse response,
String tenantDomain,
String serverKey) |
org.wso2.carbon.logging.view.stub.types.carbon.LogEvent[] |
getApplicationLogs(String type,
String keyword,
String applicationName,
String tenantDomain,
String serverKey) |
String[] |
getApplicationNames(String tenantDomain,
String serverKey) |
String |
getImageName(String type) |
int |
getLineNumbers(String logFile) |
org.wso2.carbon.logging.view.stub.types.carbon.PaginatedLogFileInfo |
getLocalLogFiles(int pageNo,
String tenantDomain,
String serverKey) |
String[] |
getLogLevels() |
String[] |
getLogLinesFromFile(String logFile,
int maxLogs,
int start,
int end) |
org.wso2.carbon.logging.view.stub.types.carbon.LogEvent[] |
getLogs(String type,
String keyword,
String tenantDomain,
String serverkey) |
int |
getNoOfLogEvents(String tenantDomain,
String serverKey) |
org.wso2.carbon.logging.view.stub.types.carbon.PaginatedLogEvent |
getPaginatedApplicationLogEvents(int pageNumber,
String type,
String keyword,
String appName,
String tenantDomain,
String serverKey) |
org.wso2.carbon.logging.view.stub.types.carbon.PaginatedLogEvent |
getPaginatedLogEvents(int pageNumber,
String type,
String keyword,
String tenantDomain,
String serverKey) |
org.wso2.carbon.logging.view.stub.types.carbon.PaginatedLogFileInfo |
getPaginatedLogFileInfo(int pageNumber,
String tenantDomain,
String serviceName) |
String[] |
getServiceNames() |
boolean |
isFileAppenderConfiguredForST() |
boolean |
isLogEventReciverConfigured() |
boolean |
isManager() |
boolean |
isValidTenant(String tenantDomain) |
public void clearLogs()
throws RemoteException
RemoteExceptionpublic void downloadArchivedLogFiles(String logFile, javax.servlet.http.HttpServletResponse response, String tenantDomain, String serverKey) throws RemoteException, org.wso2.carbon.logging.view.stub.LogViewerException
RemoteExceptionorg.wso2.carbon.logging.view.stub.LogViewerExceptionpublic int getLineNumbers(String logFile) throws RemoteException, org.wso2.carbon.logging.view.stub.LogViewerException
RemoteExceptionorg.wso2.carbon.logging.view.stub.LogViewerExceptionpublic org.wso2.carbon.logging.view.stub.types.carbon.PaginatedLogFileInfo getPaginatedLogFileInfo(int pageNumber,
String tenantDomain,
String serviceName)
throws RemoteException,
org.wso2.carbon.logging.view.stub.LogViewerLogViewerException
RemoteExceptionorg.wso2.carbon.logging.view.stub.LogViewerLogViewerExceptionpublic org.wso2.carbon.logging.view.stub.types.carbon.LogEvent[] getLogs(String type, String keyword, String tenantDomain, String serverkey) throws RemoteException, org.wso2.carbon.logging.view.stub.LogViewerLogViewerException
RemoteExceptionorg.wso2.carbon.logging.view.stub.LogViewerLogViewerExceptionpublic org.wso2.carbon.logging.view.stub.types.carbon.LogEvent[] getApplicationLogs(String type, String keyword, String applicationName, String tenantDomain, String serverKey) throws RemoteException, org.wso2.carbon.logging.view.stub.LogViewerLogViewerException
RemoteExceptionorg.wso2.carbon.logging.view.stub.LogViewerLogViewerExceptionpublic String[] getLogLinesFromFile(String logFile, int maxLogs, int start, int end) throws RemoteException, org.wso2.carbon.logging.view.stub.LogViewerLogViewerException
RemoteExceptionorg.wso2.carbon.logging.view.stub.LogViewerLogViewerExceptionpublic String[] getApplicationNames(String tenantDomain, String serverKey) throws RemoteException, org.wso2.carbon.logging.view.stub.LogViewerLogViewerException
RemoteExceptionorg.wso2.carbon.logging.view.stub.LogViewerLogViewerExceptionpublic int getNoOfLogEvents(String tenantDomain, String serverKey) throws RemoteException, org.wso2.carbon.logging.view.stub.LogViewerLogViewerException
RemoteExceptionorg.wso2.carbon.logging.view.stub.LogViewerLogViewerExceptionpublic String[] getServiceNames() throws RemoteException, org.wso2.carbon.logging.view.stub.LogViewerLogViewerException
RemoteExceptionorg.wso2.carbon.logging.view.stub.LogViewerLogViewerExceptionpublic boolean isFileAppenderConfiguredForST()
throws RemoteException
RemoteExceptionpublic org.wso2.carbon.logging.view.stub.types.carbon.PaginatedLogEvent getPaginatedLogEvents(int pageNumber,
String type,
String keyword,
String tenantDomain,
String serverKey)
throws RemoteException,
org.wso2.carbon.logging.view.stub.LogViewerLogViewerException
RemoteExceptionorg.wso2.carbon.logging.view.stub.LogViewerLogViewerExceptionpublic org.wso2.carbon.logging.view.stub.types.carbon.PaginatedLogEvent getPaginatedApplicationLogEvents(int pageNumber,
String type,
String keyword,
String appName,
String tenantDomain,
String serverKey)
throws RemoteException,
org.wso2.carbon.logging.view.stub.LogViewerException
RemoteExceptionorg.wso2.carbon.logging.view.stub.LogViewerExceptionpublic org.wso2.carbon.logging.view.stub.types.carbon.PaginatedLogFileInfo getLocalLogFiles(int pageNo,
String tenantDomain,
String serverKey)
throws RemoteException,
org.wso2.carbon.logging.view.stub.LogViewerLogViewerException
RemoteExceptionorg.wso2.carbon.logging.view.stub.LogViewerLogViewerExceptionpublic boolean isLogEventReciverConfigured()
throws RemoteException
RemoteExceptionpublic String[] getLogLevels()
public boolean isManager()
throws RemoteException
RemoteExceptionpublic boolean isValidTenant(String tenantDomain) throws RemoteException
RemoteExceptionCopyright © 2017 WSO2. All rights reserved.