Report if the message type can not be detected.
authorarjen <arjen>
Mon, 22 Dec 2003 10:20:21 +0000 (10:20 +0000)
committerarjen <arjen>
Mon, 22 Dec 2003 10:20:21 +0000 (10:20 +0000)
src/gcm_input/gcm_input.cpp

index b85fe9a..b1c50e6 100644 (file)
@@ -7,7 +7,7 @@
 ***********************
 **      FILE NAME      : gcm_input.cpp
 **      SYSTEM NAME    : Gnucomo - Gnu Computer Monitoring
-**      VERSION NUMBER : $Revision: 1.12 $
+**      VERSION NUMBER : $Revision: 1.13 $
 **
 **  DESCRIPTION      :  Application to store client messages into the database
 **                      The client message contains a log file from one of the
 
 /*****************************
    $Log: gcm_input.cpp,v $
-   Revision 1.12  2003-12-04 10:38:09  arjen
+   Revision 1.13  2003-12-22 10:20:21  arjen
+   Report if the message type can not be detected.
+
+   Revision 1.12  2003/12/04 10:38:09  arjen
    Major redesign. All input is handled through XML. Raw input data is first
    transformed into an XML document for further processing.
    A collection of polymorphic classes handle the transformation of various
 
 *****************************/
 
-static const char *RCSID = "$Id: gcm_input.cpp,v 1.12 2003-12-04 10:38:09 arjen Exp $";
+static const char *RCSID = "$Id: gcm_input.cpp,v 1.13 2003-12-22 10:20:21 arjen Exp $";
 
 #include <fstream>
 
@@ -131,7 +134,7 @@ bool testmode = false;
 bool incremental = false;
 std::ostream *Log = &std::cerr;
 
-static char *Version = "gcm_input version 0.0.8 - Sep 04, 2003";
+static char *Version = "gcm_input version 0.0.9 - Dec 22, 2003";
 
 
 /*=========================================================================
@@ -298,6 +301,10 @@ int main(int argc, char *argv[])
             *Log << "Caught an exception: " << e.what() << "\n";
          }
       }
+      else
+      {
+         *Log << "Cannot determine message type with sufficient certainty.\n";
+      }
       return 0;
    }
    else