This is an automated email from the ASF dual-hosted git repository.

haonan pushed a commit to branch print_log_when_read_resource_error
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to 
refs/heads/print_log_when_read_resource_error by this push:
     new fb4b292019a Print log when read resource error
fb4b292019a is described below

commit fb4b292019a6bc9c82112f961c634667a067b68a
Author: HTHou <[email protected]>
AuthorDate: Wed Jun 5 16:47:56 2024 +0800

    Print log when read resource error
---
 .../iotdb/db/storageengine/dataregion/tsfile/TsFileResource.java      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/tsfile/TsFileResource.java
 
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/tsfile/TsFileResource.java
index ffefdb3f51e..b88381cca03 100644
--- 
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/tsfile/TsFileResource.java
+++ 
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/tsfile/TsFileResource.java
@@ -394,7 +394,7 @@ public class TsFileResource {
       LOGGER.error(
           "meet error when getStartTime of {} in file {}", deviceId, 
file.getAbsolutePath());
       if (LOGGER.isDebugEnabled()) {
-        LOGGER.error("TimeIndex = {}", timeIndex.toString());
+        LOGGER.debug("TimeIndex = {}", timeIndex.toString());
       }
       throw e;
     }
@@ -407,7 +407,7 @@ public class TsFileResource {
     } catch (Exception e) {
       LOGGER.error("meet error when getEndTime of {} in file {}", deviceId, 
file.getAbsolutePath());
       if (LOGGER.isDebugEnabled()) {
-        LOGGER.error("TimeIndex = {}", timeIndex.toString());
+        LOGGER.debug("TimeIndex = {}", timeIndex.toString());
       }
       throw e;
     }

Reply via email to