Browse files

cleanup

  • Loading branch information...
1 parent 3258782 commit 6718c5bd212e37825d5d88cd20b6fb30f60305ba @calvin1978 calvin1978 committed Apr 15, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 modules/core/src/main/java/org/springside/modules/log/Log4jManager.java
View
6 modules/core/src/main/java/org/springside/modules/log/Log4jManager.java
@@ -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);

0 comments on commit 6718c5b

Please sign in to comment.