fuweng11 commented on code in PR #9254:
URL: https://github.com/apache/inlong/pull/9254#discussion_r1389015599


##########
inlong-agent/agent-plugins/src/main/java/org/apache/inlong/agent/plugin/sources/LogFileSource.java:
##########
@@ -247,7 +248,7 @@ private long getBytePositionByLine(long linePosition) 
throws IOException {
                 }
             }
         } catch (Exception e) {
-            LOGGER.error("getBytePositionByLine error {}", e.getMessage());
+            LOGGER.error("getBytePositionByLine error {}", e.getStackTrace());

Review Comment:
   Please use ` LOGGER.error("getBytePositionByLine error :", e);`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@inlong.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to