mirror of
https://gitee.com/wangkang/udf.git
synced 2026-10-30 21:03:46 +00:00
修改日志输出
This commit is contained in:
@@ -103,7 +103,7 @@ public class IdWorker {
|
||||
public IdWorker() {
|
||||
this.datacenterId = getDatacenterId(maxDatacenterId);
|
||||
this.workerId = getWorkerId(maxWorkerId);
|
||||
LOGGER.info("datacenterId:{1},workerId:{2}", maxDatacenterId, maxWorkerId);
|
||||
LOGGER.info("datacenterId:{},workerId:{}", maxDatacenterId, maxWorkerId);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -124,7 +124,7 @@ public class IdWorker {
|
||||
}
|
||||
this.workerId = workerId;
|
||||
this.datacenterId = datacenterId;
|
||||
LOGGER.info("datacenterId:{1},workerId:{2}", maxDatacenterId, maxWorkerId);
|
||||
LOGGER.info("datacenterId:{},workerId:{}", maxDatacenterId, maxWorkerId);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user