public class LogAdjuster extends Object
| Constructor and Description | 
|---|
LogAdjuster(String baseUrl)
Requires the base url of the server in order to log in a ConfluenceRpc. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
resetLogLevels()
Undoes all level setting by this LogAdjuster. 
 | 
void | 
setLogLevel(String logger,
           org.apache.log4j.Level level)
Deprecated. 
 
since 7.5 Use  
#setLogLevel(String, LogLevel) | 
void | 
setLogLevel(String logger,
           LoggingAndProfiling.LogLevel level)
Adjust the log level for a given logger pattern. 
 | 
void | 
suppressMultipartRequestLogging()
Convenience method to change logging of the  
com.opensymphony.webwork.dispatcher.multipart.MultiPartRequest
 to LoggingAndProfiling.LogLevel.ERROR, which is very commonly performed to suppress its noisy logging. | 
public LogAdjuster(String baseUrl)
public void setLogLevel(String logger, LoggingAndProfiling.LogLevel level)
resetLogLevels(), which should be called in a finally or a tearDown.@Deprecated public void setLogLevel(String logger, org.apache.log4j.Level level)
#setLogLevel(String, LogLevel)resetLogLevels(), which should be called in a finally or a tearDown.public void suppressMultipartRequestLogging()
com.opensymphony.webwork.dispatcher.multipart.MultiPartRequest
 to LoggingAndProfiling.LogLevel.ERROR, which is very commonly performed to suppress its noisy logging.
 This call should be matched with a call to resetLogLevels() in the finally or tearDown.public void resetLogLevels()
Copyright © 2003–2022 Atlassian. All rights reserved.