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
RemoteException
public void downloadArchivedLogFiles(String logFile, javax.servlet.http.HttpServletResponse response, String tenantDomain, String serverKey) throws RemoteException, org.wso2.carbon.logging.view.stub.LogViewerException
RemoteException
org.wso2.carbon.logging.view.stub.LogViewerException
public int getLineNumbers(String logFile) throws RemoteException, org.wso2.carbon.logging.view.stub.LogViewerException
RemoteException
org.wso2.carbon.logging.view.stub.LogViewerException
public 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
RemoteException
org.wso2.carbon.logging.view.stub.LogViewerLogViewerException
public 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
RemoteException
org.wso2.carbon.logging.view.stub.LogViewerLogViewerException
public 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
RemoteException
org.wso2.carbon.logging.view.stub.LogViewerLogViewerException
public String[] getLogLinesFromFile(String logFile, int maxLogs, int start, int end) throws RemoteException, org.wso2.carbon.logging.view.stub.LogViewerLogViewerException
RemoteException
org.wso2.carbon.logging.view.stub.LogViewerLogViewerException
public String[] getApplicationNames(String tenantDomain, String serverKey) throws RemoteException, org.wso2.carbon.logging.view.stub.LogViewerLogViewerException
RemoteException
org.wso2.carbon.logging.view.stub.LogViewerLogViewerException
public int getNoOfLogEvents(String tenantDomain, String serverKey) throws RemoteException, org.wso2.carbon.logging.view.stub.LogViewerLogViewerException
RemoteException
org.wso2.carbon.logging.view.stub.LogViewerLogViewerException
public String[] getServiceNames() throws RemoteException, org.wso2.carbon.logging.view.stub.LogViewerLogViewerException
RemoteException
org.wso2.carbon.logging.view.stub.LogViewerLogViewerException
public boolean isFileAppenderConfiguredForST() throws RemoteException
RemoteException
public 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
RemoteException
org.wso2.carbon.logging.view.stub.LogViewerLogViewerException
public 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
RemoteException
org.wso2.carbon.logging.view.stub.LogViewerException
public 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
RemoteException
org.wso2.carbon.logging.view.stub.LogViewerLogViewerException
public boolean isLogEventReciverConfigured() throws RemoteException
RemoteException
public String[] getLogLevels()
public boolean isManager() throws RemoteException
RemoteException
public boolean isValidTenant(String tenantDomain) throws RemoteException
RemoteException
Copyright © 2018 WSO2. All rights reserved.