pre 2.4.1

This commit is contained in:
bwcx_jzy 2019-06-13 16:59:04 +08:00
parent 6b090aefd4
commit 6437e08710

View File

@ -77,7 +77,10 @@ public class AgentExtConfigBean {
agentExtConfigBean = SpringUtil.getBean(AgentExtConfigBean.class);
// 读取配置的编码格式
if (StrUtil.isNotBlank(agentExtConfigBean.logFileCharset)) {
agentExtConfigBean.logFileCharsets = CharsetUtil.charset(agentExtConfigBean.logFileCharset);
try {
agentExtConfigBean.logFileCharsets = CharsetUtil.charset(agentExtConfigBean.logFileCharset);
} catch (Exception ignored) {
}
}
}
return agentExtConfigBean;