Index: trunk/BNC/src/rinex/reqcanalyze.cpp
===================================================================
--- trunk/BNC/src/rinex/reqcanalyze.cpp	(revision 9774)
+++ trunk/BNC/src/rinex/reqcanalyze.cpp	(revision 9775)
@@ -988,5 +988,5 @@
   }
   if (_log) {
-    *_log << "Navigation File(s) : " << navFileName                                   << endl;
+    *_log << "Navigation File(s) : " << navFileName  << endl;
   }
   QStringListIterator it(_navFileNames);
@@ -995,4 +995,5 @@
     unsigned numOK  = 0;
     unsigned numBad = 0;
+    unsigned numUnhealthy = 0;
     bncEphUser ephUser(false);
     t_rnxNavFile rnxNavFile(fileName, t_rnxNavFile::input);
@@ -1000,6 +1001,9 @@
       t_eph* eph = rnxNavFile.ephs()[ii];
       ephUser.putNewEph(eph, false);
-      if (eph->checkState() == t_eph::bad) {
+      if      (eph->checkState() == t_eph::bad) {
         ++numBad;
+      }
+      else if (eph->checkState() == t_eph::unhealthy) {
+        ++numUnhealthy;
       }
       else {
@@ -1008,14 +1012,26 @@
     }
     if (_log) {
-      *_log << "Ephemeris          : " << numOK << " OK   " << numBad << " BAD" << endl;
-    }
-    if (numBad > 0) {
+      *_log << "Ephemeris          : " << numOK        << " OK   "
+                                       << numUnhealthy << " UNHEALTHY   "
+                                       << numBad       << " WRONG\n";
+    }
+    if (numBad > 0 || numUnhealthy > 0) {
       for (unsigned ii = 0; ii < rnxNavFile.ephs().size(); ii++) {
         t_eph* eph = rnxNavFile.ephs()[ii];
-        if (eph->checkState() == t_eph::bad) {
-          QFileInfo navFi(fileName);
-          if (_log) {
-            *_log << "  Bad Ephemeris   : " << navFi.fileName() << ' '
-                  << eph->toString(3.0).left(24) << endl;
+        QFileInfo navFi(fileName);
+        if (_log) {
+#ifdef BNC_DEBUG_BCEP
+          if (eph->checkState() == t_eph::unhealthy) {
+            *_log  << "                     "
+                << navFi.fileName() << ' ' << QString(": UNHEALTHY %2:%3\n")
+                           .arg(eph->navTypeString(eph->navType(), eph->prn(), 99.0))
+                           .arg(eph->rinexDateStr(eph->TOC(), eph->prn(), 99.0)).toLatin1();
+          }
+#endif
+          if (eph->checkState() == t_eph::bad) {
+            *_log  << "                     "
+                << navFi.fileName() << ' ' << QString(": WRONG %2:%3\n")
+                           .arg(eph->navTypeString(eph->navType(), eph->prn(), 99.0))
+                           .arg(eph->rinexDateStr(eph->TOC(), eph->prn(), 99.0)).toLatin1();
           }
         }
