diff --git a/cdm/src/main/java/ucar/nc2/util/log/LogStream.java b/cdm/src/main/java/ucar/nc2/util/log/LogStream.java
index <HASH>..<HASH> 100644
--- a/cdm/src/main/java/ucar/nc2/util/log/LogStream.java
+++ b/cdm/src/main/java/ucar/nc2/util/log/LogStream.java
@@ -170,6 +170,7 @@ public class LogStream extends java.io.OutputStream {
   public void

   write(int b) throws IOException {

     buffer.append((char) b);

+    if(b == '\n') logflush();

   }
Make LogStream dump on end of line