public class LoggingAdminClient extends Object
Modifier and Type | Field and Description |
---|---|
Map |
facilityMap |
org.wso2.carbon.logging.admin.stub.LoggingAdminStub |
stub |
Constructor and Description |
---|
LoggingAdminClient(String cookie,
String backendServerURL,
org.apache.axis2.context.ConfigurationContext configCtx) |
Modifier and Type | Method and Description |
---|---|
org.wso2.carbon.logging.admin.stub.types.carbon.LoggerData[] |
getAllLoggerData(boolean beginsWith,
String fileter) |
org.wso2.carbon.logging.admin.stub.types.carbon.AppenderData |
getAppenderData(String appenderName) |
Map |
getAppenderFacilities() |
String[] |
getLogLevels() |
org.wso2.carbon.logging.admin.stub.types.carbon.LogData |
getSysLog() |
org.wso2.carbon.logging.admin.stub.types.carbon.SyslogData |
getSysLogData() |
boolean |
isStratosService() |
String |
removeSyslogPattern(String appenderPattern) |
void |
restoreToDefaults() |
void |
updateAppenderData(String appenderName,
String logPattern,
String threshold,
String logFile,
String sysLogHost,
String facility,
boolean persist) |
void |
updateLoggerData(String loggerName,
String logLevel,
boolean additivity,
boolean persist) |
void |
updateSyslogConfig(String url,
String port,
String realm,
String userName,
String password) |
void |
updateSystemLog(String logLevel,
String logPattern,
boolean persist) |
public org.wso2.carbon.logging.admin.stub.LoggingAdminStub stub
public Map facilityMap
public org.wso2.carbon.logging.admin.stub.types.carbon.LogData getSysLog() throws Exception
Exception
public org.wso2.carbon.logging.admin.stub.types.carbon.SyslogData getSysLogData() throws Exception
Exception
public void updateSyslogConfig(String url, String port, String realm, String userName, String password) throws Exception
Exception
public org.wso2.carbon.logging.admin.stub.types.carbon.LoggerData[] getAllLoggerData(boolean beginsWith, String fileter) throws Exception
Exception
public void updateSystemLog(String logLevel, String logPattern, boolean persist) throws Exception, RemoteException
Exception
RemoteException
public String[] getLogLevels()
public Map getAppenderFacilities()
public void updateLoggerData(String loggerName, String logLevel, boolean additivity, boolean persist) throws Exception
Exception
public org.wso2.carbon.logging.admin.stub.types.carbon.AppenderData getAppenderData(String appenderName) throws Exception
Exception
public void updateAppenderData(String appenderName, String logPattern, String threshold, String logFile, String sysLogHost, String facility, boolean persist) throws Exception
Exception
public String removeSyslogPattern(String appenderPattern) throws Exception
Exception
Copyright © 2018 WSO2. All rights reserved.