mirror of
https://gitee.com/dromara/Jpom.git
synced 2024-12-03 20:38:52 +08:00
pre 2.4.1
This commit is contained in:
parent
6b090aefd4
commit
6437e08710
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user