俄文OK翻译;

定时任务错误信息打印;
恢复白名单被覆盖的logger.error;
This commit is contained in:
段冬梅
2019-04-24 16:01:40 +08:00
parent 3b838aa838
commit 589cf100ee
3 changed files with 4 additions and 3 deletions

View File

@@ -69,6 +69,7 @@ public class ScheduleStatusJob implements Job{
try {
scheduleService.issueCompileInfo(cfg, isValid?1:0);
} catch (Exception e) {
e.printStackTrace();
log.error("定时任务"+cfg.getId()+"执行失败",e);
}finally {
log.debug(String.format("任务执行完成compileId:%s,isValid:%s",compileId,isValid ));

View File

@@ -132,10 +132,10 @@ public class WhiteListController extends CommonController {
ipCfgService.auditIpCfg(entity, isAudit,Constants.INSERT_ACTION);
addMessage(redirectAttributes, "success", "audit_success");
} catch (MaatConvertException e) {
logger.info("ip配置下发失败" + e.getMessage());
logger.error("ip配置下发失败" + e.getMessage());
addMessage(redirectAttributes, "error", "request_service_failed");
} catch (Exception e) {
logger.info("ip配置下发失败" + e.getMessage());
logger.error("ip配置下发失败" + e.getMessage());
addMessage(redirectAttributes, "error", "audit_failed");
}
}

View File

@@ -252,7 +252,7 @@ maxlength_128=\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043d\u0435 \u0431\u04
maxlength_256=\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043d\u0435 \u0431\u043e\u043b\u0435\u0435 256 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432!
maxlength_512=\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043d\u0435 \u0431\u043e\u043b\u0435\u0435 512 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432!
maxlength_4000=\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043d\u0435 \u0431\u043e\u043b\u0435\u0435 4000 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432!
ok=OK
ok=\u0414\u0430
clear=\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u044c
close=\u0417\u0430\u043a\u0440\u044b\u0442\u044c
reselect=\u041f\u043e\u0432\u0442\u043e\u0440\u043d\u043e \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435