mirror of
https://github.com/LamGC/ContentGrabbingJi.git
synced 2025-07-04 06:17:26 +00:00
[Fix] log4j2.xml 修复日志配置错误的问题;
[Change] BotGlobal, Main 调整日志输出内容和级别;
This commit is contained in:
@ -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");
|
||||
|
Reference in New Issue
Block a user