Index: trunk/BNC/bncmodel.cpp
===================================================================
--- trunk/BNC/bncmodel.cpp	(revision 2247)
+++ trunk/BNC/bncmodel.cpp	(revision 2248)
@@ -546,5 +546,5 @@
 t_irc bncModel::update(t_epoData* epoData) {
 
-  _log = "Precise Point Positioning";
+  _log.clear();  
 
   _time = epoData->tt;
@@ -649,5 +649,5 @@
         ostringstream str;
         str.setf(ios::fixed);
-        str << "iObs = " << iObs << " " << prn.toAscii().data() << " " 
+        str << "\niObs = " << iObs << " " << prn.toAscii().data() << " " 
             << setprecision(3) << rhoCmp << " "
             << setprecision(3) << satData->P3 << " "
@@ -685,7 +685,7 @@
       }
 
-      str << "residuals code  " << setprecision(3) << vv_code.t(); 
-      str << "residuals phase " << setprecision(3) << vv_phase.t();
-      str << "residuals glo   " << setprecision(3) << vv_glo.t();
+      str << "\nresiduals 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();
     }
@@ -839,5 +839,18 @@
   }
 
-  if      (vvMaxCodeGPS > MAXRES_CODE_GPS) {
+  if (vvMaxPhaseGlo > MAXRES_PHASE_GLO) {
+    QString    prn     = itMaxPhaseGlo.key();
+    t_satData* satData = itMaxPhaseGlo.value();
+    delete satData;
+    itMaxPhaseGlo.remove();
+    _QQ = QQsav;
+
+    _log += "\nOutlier Phase " + prn.toAscii() + " " 
+          + QByteArray::number(vvMaxPhaseGlo, 'f', 3);
+
+    return 1;
+  }
+
+  else if (vvMaxCodeGPS > MAXRES_CODE_GPS) {
     QString    prn     = itMaxCodeGPS.key();
     t_satData* satData = itMaxCodeGPS.value();
@@ -863,16 +876,4 @@
     return 1;
   }
-  else if (vvMaxPhaseGlo > MAXRES_PHASE_GLO) {
-    QString    prn     = itMaxPhaseGlo.key();
-    t_satData* satData = itMaxPhaseGlo.value();
-    delete satData;
-    itMaxPhaseGlo.remove();
-    _QQ = QQsav;
-
-    _log += "\nOutlier Phase " + prn.toAscii() + " " 
-          + QByteArray::number(vvMaxPhaseGlo, 'f', 3);
-
-    return 1;
-  }
 
   return 0;
