From: arjen Date: Mon, 22 Dec 2003 10:20:21 +0000 (+0000) Subject: Report if the message type can not be detected. X-Git-Tag: V0_0_9~10 X-Git-Url: http://www.andromeda.nl/gitweb/?p=gnucomo.git;a=commitdiff_plain;h=c3c0a5d76282adccfc2d5efbd3e4b0c3e7933092 Report if the message type can not be detected. --- diff --git a/src/gcm_input/gcm_input.cpp b/src/gcm_input/gcm_input.cpp index b85fe9a..b1c50e6 100644 --- a/src/gcm_input/gcm_input.cpp +++ b/src/gcm_input/gcm_input.cpp @@ -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 @@ -54,7 +54,10 @@ /***************************** $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 @@ -110,7 +113,7 @@ *****************************/ -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 @@ -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