Authored by Gino Zhang

支持动态调整日志级别

@@ -189,7 +189,7 @@ public class ToolsController { @@ -189,7 +189,7 @@ public class ToolsController {
189 */ 189 */
190 @RequestMapping(method = RequestMethod.GET, value = "/changeLogLevel") 190 @RequestMapping(method = RequestMethod.GET, value = "/changeLogLevel")
191 @ResponseBody 191 @ResponseBody
192 - public SearchApiResult changeLogLevel(@RequestParam(defaultValue = "ProductListServiceImpl") String loggerName, 192 + public SearchApiResult changeLogLevel(@RequestParam(defaultValue = "com.yoho.search.service.servicenew.impl.ProductListServiceImpl") String loggerName,
193 @RequestParam(defaultValue = "DEBUG") String level, 193 @RequestParam(defaultValue = "DEBUG") String level,
194 @RequestParam(defaultValue = "60") int seconds) { 194 @RequestParam(defaultValue = "60") int seconds) {
195 try { 195 try {