***********************
** FILE NAME : gcm_input.cpp
** SYSTEM NAME : Gnucomo - Gnu Computer Monitoring
-** VERSION NUMBER : $Revision: 1.14 $
+** VERSION NUMBER : $Revision: 1.16 $
**
** 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.14 2007-11-03 10:26:13 arjen
+ Revision 1.16 2011-03-24 10:20:37 arjen
+ Added some debug info
+
+ Revision 1.15 2007/11/14 16:19:25 arjen
+ Bugfix: Segmentation fault when reading an rpm package list
+ with empty lines.
+
+ Revision 1.14 2007/11/03 10:26:13 arjen
Added a new filter which can directly read the output
of the UNIX df command. A brief description is added in
the user manual.
*****************************/
-static const char *RCSID = "$Id: gcm_input.cpp,v 1.14 2007-11-03 10:26:13 arjen Exp $";
+static const char *RCSID = "$Id: gcm_input.cpp,v 1.16 2011-03-24 10:20:37 arjen Exp $";
#include <fstream>
msg.add_cooker(&dlc, &df);
message_probability = msg.classify(hostname, arrival, service);
- *Log << "Message type probability = " << message_probability << "\n";
if (message_probability > 0.75)
{
try