Skip to content

Commit 0f253d8

Browse files
authored
Degraded the UT logs (#17782)
* Degraded the UT logs (cherry picked from commit 65cd197) * Update TsFileInsertionDataContainer.java
1 parent 93275a6 commit 0f253d8

1 file changed

Lines changed: 12 additions & 10 deletions

File tree

iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/event/common/tsfile/container/TsFileInsertionDataContainer.java

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -97,16 +97,18 @@ protected TsFileInsertionDataContainer(
9797
.forceAllocateForTabletWithRetry(
9898
IoTDBDescriptor.getInstance().getConfig().getPipeDataStructureTabletSizeInBytes());
9999

100-
LOGGER.info(
101-
"TsFile {} has initialized {}, pipeName: {}, creation time: {}, pattern: {}, startTime: {}, endTime: {}, withMod: {}",
102-
tsFile,
103-
getClass().getSimpleName(),
104-
pipeName,
105-
creationTime,
106-
pattern,
107-
startTime,
108-
endTime,
109-
isWithMod);
100+
if (LOGGER.isDebugEnabled()) {
101+
LOGGER.debug(
102+
"TsFile {} has initialized {}, pipeName: {}, creation time: {}, pattern: {}, startTime: {}, endTime: {}, withMod: {}",
103+
tsFile,
104+
getClass().getSimpleName(),
105+
pipeName,
106+
creationTime,
107+
pattern,
108+
startTime,
109+
endTime,
110+
isWithMod);
111+
}
110112
}
111113

112114
/**

0 commit comments

Comments
 (0)