Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

cleanup

  • Loading branch information...
commit 6718c5bd212e37825d5d88cd20b6fb30f60305ba 1 parent 3258782
Calvin authored
6 modules/core/src/main/java/org/springside/modules/log/Log4jManager.java
View
@@ -37,7 +37,7 @@ public String getRootLoggerLevel() {
return logger.getEffectiveLevel().toString();
}
- @ManagedAttribute(description = "Level of the root logger")
+ @ManagedAttribute
public void setRootLoggerLevel(String newLevel) {
Logger logger = Logger.getRootLogger();
Level level = Level.toLevel(newLevel);
@@ -49,7 +49,7 @@ public void setRootLoggerLevel(String newLevel) {
* 获得项目默认logger的级别.
* 项目默认logger名称通过#setProjectLoggerName(String)配置.
*/
- @ManagedAttribute(description = "Project default logging level of the logger")
+ @ManagedAttribute(description = "Level of the project default package logger")
public String getProjectLoggerLevel() {
if (projectLoggerName != null) {
return getLoggerLevel(projectLoggerName);
@@ -62,7 +62,7 @@ public String getProjectLoggerLevel() {
* 设置项目默认logger的级别.
* 项目默认logger名称通过#setProjectLoggerName(String)配置.
*/
- @ManagedAttribute(description = "Project default logging level of the logger")
+ @ManagedAttribute
public void setProjectLoggerLevel(String newLevel) {
if (projectLoggerName != null) {
setLoggerLevel(projectLoggerName, newLevel);
Please sign in to comment.
Something went wrong with that request. Please try again.