| java.lang.Object org.wso2.esb.services.AbstractESBAdmin org.wso2.esb.services.LogAdmin
Method Summary | |
public boolean | changeLogConfigLevel(String loggerId, String level) Change logger level in the log4j.properties file.
Parameters: loggerId - logger ID from the loggerMap object Parameters: level - e.g. | public LogConfigData | getLogConfig() Get log4j.properties, logger levels
read from the file system. | public boolean | saveLogConfig(String logConfig) Save given log4j.properties to default location. | public boolean | updateLogConfig(String logConfig) Update the running log4j with the given log4j.properties. |
changeLogConfigLevel | public boolean changeLogConfigLevel(String loggerId, String level) throws AxisFault(Code) | | Change logger level in the log4j.properties file.
Parameters: loggerId - logger ID from the loggerMap object Parameters: level - e.g. INFO, DEBUG throws: AxisFault - |
getLogConfig | public LogConfigData getLogConfig() throws AxisFault(Code) | | Get log4j.properties, logger levels
read from the file system.
throws: AxisFault - |
saveLogConfig | public boolean saveLogConfig(String logConfig) throws AxisFault(Code) | | Save given log4j.properties to default location.
Parameters: logConfig - log4j.properties contents throws: AxisFault - |
updateLogConfig | public boolean updateLogConfig(String logConfig) throws AxisFault(Code) | | Update the running log4j with the given log4j.properties.
Parameters: logConfig - log4j.properties contents throws: AxisFault - |
|
|