public class LoggingAdmin extends Object
| Constructor and Description |
|---|
LoggingAdmin() |
| Modifier and Type | Method and Description |
|---|---|
void |
addLogger(String loggerName,
String loggerClass,
String logLevel) |
LoggerData[] |
getAllLoggerData(boolean beginsWith,
String logNameFilter) |
LoggerData |
getLoggerData(String loggerName) |
String |
getLoggers() |
boolean |
isLoggerExist(String loggerName) |
void |
updateLoggerData(String loggerName,
String logLevel) |
public String getLoggers() throws IOException
IOExceptionpublic LoggerData getLoggerData(String loggerName) throws IOException
IOExceptionpublic LoggerData[] getAllLoggerData(boolean beginsWith, String logNameFilter) throws IOException
IOExceptionpublic void updateLoggerData(String loggerName, String logLevel) throws IOException, org.apache.commons.configuration.ConfigurationException
IOExceptionorg.apache.commons.configuration.ConfigurationExceptionpublic void addLogger(String loggerName, String loggerClass, String logLevel) throws IOException, org.apache.commons.configuration.ConfigurationException
IOExceptionorg.apache.commons.configuration.ConfigurationExceptionpublic boolean isLoggerExist(String loggerName) throws IOException
IOExceptionCopyright © 2021 WSO2. All rights reserved.