[Fix] log4j2.xml 修复日志配置错误的问题;

[Change] BotGlobal, Main 调整日志输出内容和级别;
This commit is contained in:
2020-06-10 15:46:33 +08:00
parent b9180b9651
commit 3f256c5a0a
3 changed files with 5 additions and 15 deletions

View File

@ -61,7 +61,7 @@ public final class BotGlobal {
try (Jedis jedis = this.redisServer.getResource()) {
log.warn("Redis连接状态(Ping): {}", jedis.ping().equalsIgnoreCase("pong"));
} catch(JedisConnectionException e) {
log.warn("Redis连接失败, 将会影响到后续功能运行.", e);
log.warn("Redis连接失败, 将会影响到后续功能运行.({})", e.getCause().getMessage());
}
String dataStoreDirPath = System.getProperty("cgj.botDataDir");