org.wso2.carbon.logging.admin.ui
Class LoggingAdminClient

java.lang.Object
  extended by org.wso2.carbon.logging.admin.ui.LoggingAdminClient

public class LoggingAdminClient
extends Object


Field Summary
 Map facilityMap
           
 org.wso2.carbon.logging.admin.stub.LoggingAdminStub stub
           
 
Constructor Summary
LoggingAdminClient(String cookie, String backendServerURL, org.apache.axis2.context.ConfigurationContext configCtx)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

stub

public org.wso2.carbon.logging.admin.stub.LoggingAdminStub stub

facilityMap

public Map facilityMap
Constructor Detail

LoggingAdminClient

public LoggingAdminClient(String cookie,
                          String backendServerURL,
                          org.apache.axis2.context.ConfigurationContext configCtx)
                   throws org.apache.axis2.AxisFault
Throws:
org.apache.axis2.AxisFault
Method Detail

getSysLog

public org.wso2.carbon.logging.admin.stub.types.carbon.LogData getSysLog()
                                                                  throws Exception
Throws:
Exception

getSysLogData

public org.wso2.carbon.logging.admin.stub.types.carbon.SyslogData getSysLogData()
                                                                         throws Exception
Throws:
Exception

updateSyslogConfig

public void updateSyslogConfig(String url,
                               String port,
                               String realm,
                               String userName,
                               String password)
                        throws Exception
Throws:
Exception

getAllLoggerData

public org.wso2.carbon.logging.admin.stub.types.carbon.LoggerData[] getAllLoggerData(boolean beginsWith,
                                                                                     String fileter)
                                                                              throws Exception
Throws:
Exception

updateSystemLog

public void updateSystemLog(String logLevel,
                            String logPattern,
                            boolean persist)
                     throws Exception,
                            RemoteException
Throws:
Exception
RemoteException

getLogLevels

public String[] getLogLevels()

getAppenderFacilities

public Map getAppenderFacilities()

updateLoggerData

public void updateLoggerData(String loggerName,
                             String logLevel,
                             boolean additivity,
                             boolean persist)
                      throws Exception
Throws:
Exception

getAppenderData

public org.wso2.carbon.logging.admin.stub.types.carbon.AppenderData getAppenderData(String appenderName)
                                                                             throws Exception
Throws:
Exception

updateAppenderData

public void updateAppenderData(String appenderName,
                               String logPattern,
                               String threshold,
                               String logFile,
                               String sysLogHost,
                               String facility,
                               boolean persist)
                        throws Exception
Throws:
Exception

removeSyslogPattern

public String removeSyslogPattern(String appenderPattern)
                           throws Exception
Throws:
Exception

restoreToDefaults

public void restoreToDefaults()
                       throws Exception
Throws:
Exception

isStratosService

public boolean isStratosService()
                         throws Exception
Throws:
Exception


Copyright © 2015 WSO2. All rights reserved.