Commit 0fbf5567 by huangfusuper

调整提示日志级别

parent e6902c69
...@@ -52,12 +52,12 @@ public class DaemonScanThreadRunHelperRedisLock extends BaseDaemonScanThreadRunH ...@@ -52,12 +52,12 @@ public class DaemonScanThreadRunHelperRedisLock extends BaseDaemonScanThreadRunH
//定义睡眠变量 //定义睡眠变量
Long sleepTime = 0L; Long sleepTime = 0L;
try{ try{
log.debug("---{}准备加锁---",threadName);
//自旋等待redis加载成功 //自旋等待redis加载成功
while (RedissLockUtil.redissLock == null){ while (RedissLockUtil.redissLock == null){
log.warn("{}等待redis加载成功...",threadName); log.warn("{} 正在加载redis资源...",threadName);
dateAligned(CYCLE_INTERVAL,threadName); dateAligned(CYCLE_INTERVAL,threadName);
} }
log.debug("---{}等待redis资源成功---",threadName);
//加锁 60秒后超时 //加锁 60秒后超时
if (RedissLockUtil.trlock(lockName, TimeUnit.SECONDS, -1)) { if (RedissLockUtil.trlock(lockName, TimeUnit.SECONDS, -1)) {
log.debug("------------{},加锁成功,锁名称为{}----------",threadName,lockName); log.debug("------------{},加锁成功,锁名称为{}----------",threadName,lockName);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment