...
|
...
|
@@ -193,7 +193,7 @@ public class ToolsController { |
|
|
@RequestParam(defaultValue = "DEBUG") String level,
|
|
|
@RequestParam(defaultValue = "60") int seconds) {
|
|
|
try {
|
|
|
return new SearchApiResult().setData(LogUtils.changeRootLogLevel(loggerName, level, seconds));
|
|
|
return new SearchApiResult().setData(LogUtils.changeLogLevel(loggerName, level, seconds));
|
|
|
} catch (Exception e) {
|
|
|
return new SearchApiResult().setCode(500).setMessage(e.getMessage());
|
|
|
}
|
...
|
...
|
|