Index: trunk/BNC/bncmodel.cpp
===================================================================
--- trunk/BNC/bncmodel.cpp	(revision 2246)
+++ trunk/BNC/bncmodel.cpp	(revision 2247)
@@ -647,10 +647,12 @@
         }
       
-        cout.setf(ios::fixed);
-        cout << "iObs = " << iObs << " " << prn.toAscii().data() << " " 
-             << setprecision(3) << rhoCmp << " "
-             << setprecision(3) << satData->P3 << " "
-             << setprecision(3) << satData->L3 << " "
-             << ll(iObs) << endl;
+        ostringstream str;
+        str.setf(ios::fixed);
+        str << "iObs = " << iObs << " " << prn.toAscii().data() << " " 
+            << setprecision(3) << rhoCmp << " "
+            << setprecision(3) << satData->P3 << " "
+            << setprecision(3) << satData->L3 << " "
+            << ll(iObs) << endl;
+        _log += str.str().c_str();
       }
     }
@@ -669,5 +671,6 @@
     //// beg test
     {
-      cout.setf(ios::fixed);
+      ostringstream str;
+      str.setf(ios::fixed);
       ColumnVector vv_code(epoData->sizeGPS());
       ColumnVector vv_phase(epoData->sizeGPS());
@@ -682,7 +685,8 @@
       }
 
-      cout << "residuals code  " << setprecision(3) << vv_code.t(); 
-      cout << "residuals phase " << setprecision(3) << vv_phase.t();
-      cout << "residuals glo   " << setprecision(3) << vv_glo.t();
+      str << "residuals code  " << setprecision(3) << vv_code.t(); 
+      str << "residuals phase " << setprecision(3) << vv_phase.t();
+      str << "residuals glo   " << setprecision(3) << vv_glo.t();
+     _log += str.str().c_str();
     }
     //// end test
Index: trunk/BNC/bncpppclient.cpp
===================================================================
--- trunk/BNC/bncpppclient.cpp	(revision 2246)
+++ trunk/BNC/bncpppclient.cpp	(revision 2247)
@@ -332,5 +332,5 @@
     ee->position(tt.gpsw(), tt.gpssec(), xc.data(), vv.data());
 
-    if (prn[0] == 'G' && CORR_REQUIRED) {
+    if (CORR_REQUIRED) {
       if (_corr.contains(prn)) {
         t_corr* cc = _corr.value(prn);
