Skip to content
This repository
Browse code

cleanup

  • Loading branch information...
commit 6718c5bd212e37825d5d88cd20b6fb30f60305ba 1 parent 3258782
Calvin Xiao authored
6 modules/core/src/main/java/org/springside/modules/log/Log4jManager.java
@@ -37,7 +37,7 @@ public String getRootLoggerLevel() {
37 37 return logger.getEffectiveLevel().toString();
38 38 }
39 39
40   - @ManagedAttribute(description = "Level of the root logger")
  40 + @ManagedAttribute
41 41 public void setRootLoggerLevel(String newLevel) {
42 42 Logger logger = Logger.getRootLogger();
43 43 Level level = Level.toLevel(newLevel);
@@ -49,7 +49,7 @@ public void setRootLoggerLevel(String newLevel) {
49 49 * 获得项目默认logger的级别.
50 50 * 项目默认logger名称通过#setProjectLoggerName(String)配置.
51 51 */
52   - @ManagedAttribute(description = "Project default logging level of the logger")
  52 + @ManagedAttribute(description = "Level of the project default package logger")
53 53 public String getProjectLoggerLevel() {
54 54 if (projectLoggerName != null) {
55 55 return getLoggerLevel(projectLoggerName);
@@ -62,7 +62,7 @@ public String getProjectLoggerLevel() {
62 62 * 设置项目默认logger的级别.
63 63 * 项目默认logger名称通过#setProjectLoggerName(String)配置.
64 64 */
65   - @ManagedAttribute(description = "Project default logging level of the logger")
  65 + @ManagedAttribute
66 66 public void setProjectLoggerLevel(String newLevel) {
67 67 if (projectLoggerName != null) {
68 68 setLoggerLevel(projectLoggerName, newLevel);

0 comments on commit 6718c5b

Please sign in to comment.
Something went wrong with that request. Please try again.