projects
/
gnucomo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8102b9f
)
Accept [info] as a valid httpd error line.
author
arjen
<arjen>
Mon, 10 Dec 2007 16:13:16 +0000
(16:13 +0000)
committer
arjen
<arjen>
Mon, 10 Dec 2007 16:13:16 +0000
(16:13 +0000)
src/gcm_input/error_cooker.cpp
patch
|
blob
|
history
diff --git
a/src/gcm_input/error_cooker.cpp
b/src/gcm_input/error_cooker.cpp
index
a4ce102
..
4311414
100644
(file)
--- a/
src/gcm_input/error_cooker.cpp
+++ b/
src/gcm_input/error_cooker.cpp
@@
-8,7
+8,7
@@
***********************
** FILE NAME : error_cooker.cpp
** SYSTEM NAME :
***********************
** FILE NAME : error_cooker.cpp
** SYSTEM NAME :
-** VERSION NUMBER : $Revision: 1.
2
$
+** VERSION NUMBER : $Revision: 1.
3
$
**
** DESCRIPTION : Cooks Apache http daemon error log lines
**
**
** DESCRIPTION : Cooks Apache http daemon error log lines
**
@@
-26,7
+26,10
@@
/*****************************
$Log: error_cooker.cpp,v $
/*****************************
$Log: error_cooker.cpp,v $
- Revision 1.2 2003-12-22 10:22:22 arjen
+ Revision 1.3 2007-12-10 16:13:16 arjen
+ Accept [info] as a valid httpd error line.
+
+ Revision 1.2 2003/12/22 10:22:22 arjen
Accept a wider range of input patterns
Revision 1.1 2003/08/11 16:56:16 arjen
Accept a wider range of input patterns
Revision 1.1 2003/08/11 16:56:16 arjen
@@
-41,14
+44,14
@@
*****************************/
*****************************/
-/* static const char *RCSID = "$Id: error_cooker.cpp,v 1.
2 2003-12-22 10:22:22
arjen Exp $"; */
+/* static const char *RCSID = "$Id: error_cooker.cpp,v 1.
3 2007-12-10 16:13:16
arjen Exp $"; */
#include <ctype.h>
#include "error_cooker.h"
static const String unix_date_re("[[:alpha:]]{3} [[:alpha:]]{3} [ 123][0-9] [0-9]{2}:[0-9]{2}:[0-9]{2} [0-9]{4}");
#include <ctype.h>
#include "error_cooker.h"
static const String unix_date_re("[[:alpha:]]{3} [[:alpha:]]{3} [ 123][0-9] [0-9]{2}:[0-9]{2}:[0-9]{2} [0-9]{4}");
-static const regex re_errorlog("^\\[" + unix_date_re + "\\] \\[(error|notice|warn)\\] .+");
+static const regex re_errorlog("^\\[" + unix_date_re + "\\] \\[(error|notice|warn
|info
)\\] .+");
bool error_cooker::check_pattern(String logline)
{
bool error_cooker::check_pattern(String logline)
{