You've already forked FrameTour-BE
refactor(logging): 将部分info级别日志调整为debug级别- 将Placeholder初始化相关日志从info
This commit is contained in:
@@ -173,7 +173,7 @@ public class VideoPieceGetter {
|
|||||||
templatePlaceholder.forEach(deviceId -> {
|
templatePlaceholder.forEach(deviceId -> {
|
||||||
currentUnFinPlaceholder.computeIfAbsent(deviceId, k -> new AtomicInteger(0)).incrementAndGet();
|
currentUnFinPlaceholder.computeIfAbsent(deviceId, k -> new AtomicInteger(0)).incrementAndGet();
|
||||||
});
|
});
|
||||||
log.info("[Placeholder初始化] 有templateId,初始化完成:placeholder总数={}, 不同设备数={}, 详细计数={}",
|
log.debug("[Placeholder初始化] 有templateId,初始化完成:placeholder总数={}, 不同设备数={}, 详细计数={}",
|
||||||
templatePlaceholder.size(),
|
templatePlaceholder.size(),
|
||||||
currentUnFinPlaceholder.size(),
|
currentUnFinPlaceholder.size(),
|
||||||
currentUnFinPlaceholder.entrySet().stream()
|
currentUnFinPlaceholder.entrySet().stream()
|
||||||
@@ -183,7 +183,7 @@ public class VideoPieceGetter {
|
|||||||
collection.keySet().forEach(deviceId -> {
|
collection.keySet().forEach(deviceId -> {
|
||||||
currentUnFinPlaceholder.put(deviceId.toString(), new AtomicInteger(1));
|
currentUnFinPlaceholder.put(deviceId.toString(), new AtomicInteger(1));
|
||||||
});
|
});
|
||||||
log.info("[Placeholder初始化] 无templateId,初始化完成:设备数={}",
|
log.debug("[Placeholder初始化] 无templateId,初始化完成:设备数={}",
|
||||||
currentUnFinPlaceholder.size());
|
currentUnFinPlaceholder.size());
|
||||||
}
|
}
|
||||||
collection.values().forEach(faceSampleList -> {
|
collection.values().forEach(faceSampleList -> {
|
||||||
@@ -213,7 +213,7 @@ public class VideoPieceGetter {
|
|||||||
pairDeviceId, remaining, currentUnFinPlaceholder.size());
|
pairDeviceId, remaining, currentUnFinPlaceholder.size());
|
||||||
if (remaining <= 0) {
|
if (remaining <= 0) {
|
||||||
currentUnFinPlaceholder.remove(pairDeviceId.toString());
|
currentUnFinPlaceholder.remove(pairDeviceId.toString());
|
||||||
log.info("[Placeholder完成] 设备 {} 的placeholder已满足并移除,剩余设备数={}",
|
log.debug("[Placeholder完成] 设备 {} 的placeholder已满足并移除,剩余设备数={}",
|
||||||
pairDeviceId, currentUnFinPlaceholder.size());
|
pairDeviceId, currentUnFinPlaceholder.size());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -230,7 +230,7 @@ public class VideoPieceGetter {
|
|||||||
faceSample.getDeviceId(), remaining, currentUnFinPlaceholder.size());
|
faceSample.getDeviceId(), remaining, currentUnFinPlaceholder.size());
|
||||||
if (remaining <= 0) {
|
if (remaining <= 0) {
|
||||||
currentUnFinPlaceholder.remove(faceSample.getDeviceId().toString());
|
currentUnFinPlaceholder.remove(faceSample.getDeviceId().toString());
|
||||||
log.info("[Placeholder完成] 设备 {} 的placeholder已满足并移除,剩余设备数={}",
|
log.debug("[Placeholder完成] 设备 {} 的placeholder已满足并移除,剩余设备数={}",
|
||||||
faceSample.getDeviceId(), currentUnFinPlaceholder.size());
|
faceSample.getDeviceId(), currentUnFinPlaceholder.size());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user