jixuan1989 commented on a change in pull request #2424:
URL: https://github.com/apache/iotdb/pull/2424#discussion_r551950396



##########
File path: server/src/test/java/org/apache/iotdb/db/tools/MLogParserTest.java
##########
@@ -114,8 +118,10 @@ public void testParseMLog() throws IOException {
     try (BufferedReader reader = new BufferedReader(new FileReader("target" + 
File.separator
       + "tmp"  + File.separator + "text.mlog"))) {
       int lineNum = 0;
-      while (reader.readLine() != null) {
+      String line;
+      while ((line = reader.readLine()) != null) {
         lineNum++;
+        logger.info(line);

Review comment:
       Do not print log like this... There will be more than 100 lines of log..
   (A solution is: do not print the log unless there is an exception thrown.)
   




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to