Index: /trunk/BNS/bns.cpp
===================================================================
--- /trunk/BNS/bns.cpp	(revision 817)
+++ /trunk/BNS/bns.cpp	(revision 818)
@@ -110,4 +110,5 @@
   if (_logStream) {
     *_logStream << msg << endl;
+    _logStream->flush();
   }
   emit(newMessage(msg));
@@ -119,4 +120,5 @@
   if (_logStream) {
     *_logStream << msg << endl;
+    _logStream->flush();
   }
   deleteBnsEph();
@@ -288,4 +290,5 @@
   if (_outStream) {
     *_outStream << line;
+    _outStream->flush();
   }
   if (_outSocket) {
