You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2021/01/06 01:01:37 UTC

[GitHub] [iotdb] mychaow commented on a change in pull request #2424: add debug log for IOTDB-1101

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



##########
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:
       ok




----------------------------------------------------------------
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:
users@infra.apache.org