2 /**************************************************************************
3 ** (c) Copyright 2002, Andromeda Technology & Automation
4 ** This is free software; you can redistribute it and/or modify it under the
5 ** terms of the GNU General Public License, see the file COPYING.
6 ***************************************************************************
7 ** MODULE INFORMATION *
8 ***********************
9 ** FILE NAME : syslog_cooker.h
11 ** VERSION NUMBER : $Revision: 1.1 $
13 ** DESCRIPTION : Cooks system log lines
18 ***************************************************************************
19 ** ADMINISTRATIVE INFORMATION *
20 ********************************
21 ** ORIGINAL AUTHOR : Arjen Baart - arjen@andromeda.nl
22 ** CREATION DATE : Aug 06, 2003
23 ** LAST UPDATE : Aug 06, 2003
25 **************************************************************************/
27 /*****************************
28 $Log: syslog_cooker.h,v $
29 Revision 1.1 2003-08-11 16:56:16 arjen
30 Different kinds of log files are parsed by a collection of objects
31 of different classes, derived from the base class line_cooker
32 Depending on the message content or the message_type element in
33 XML, one of these objects is selected.
35 Logrunner is integrated with gcm_input. Although its functionality
36 is still limited, a connection between logrunner and gcm_input
39 *****************************/
41 /* static const char *RCSID = "$Id: syslog_cooker.h,v 1.1 2003-08-11 16:56:16 arjen Exp $"; */
43 #include "line_cooker.h"
46 ///////////////////////////////////////////////////////////////////////////
47 // NAME : syslog_cooker
57 // LAST MODIFIED : Aug 06, 2003
58 ///////////////////////////////////////////////////////////////////////////
61 class syslog_cooker : public line_cooker
73 bool check_pattern(String logline);
74 bool cook_this(String logline, UTC arrival);