summaryrefslogtreecommitdiffstatsabout
path: root/utility/config.h
diff options
context:
space:
mode:
authorEdward Rudd <urkle@outoforder.cc>2008-10-30 23:03:13 (GMT)
committer Edward Rudd <urkle@outoforder.cc>2008-10-30 23:03:13 (GMT)
commite940dd14426c5a725fda70a154fd2bf4bb91ba44 (patch)
treecfdb73628640839e4a02106032f693c6dbb9b352 /utility/config.h
parent4c46bfeaa5ec5c6a87c29ece56891e070d3faee1 (diff)
add ability to skip N number of bad lines before throwing an error.
Will log the bad lines to a log file so they can be preserved
Diffstat (limited to 'utility/config.h')
-rw-r--r--utility/config.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/utility/config.h b/utility/config.h
index d4dde77..c627662 100644
--- a/utility/config.h
+++ b/utility/config.h
@@ -29,6 +29,12 @@ struct config_t {
29 apr_file_t *errorlog_fperr; 29 apr_file_t *errorlog_fperr;
30 apr_pool_t *errorlog_p; 30 apr_pool_t *errorlog_p;
31 31
32 const char *badlinefile;
33 apr_file_t *badline_fp;
34 int badline_count;
35 int badlinemax;
36
37
32 /** input directory of log files */ 38 /** input directory of log files */
33 const char *input_dir; 39 const char *input_dir;
34 /** list of files to scan */ 40 /** list of files to scan */
@@ -73,6 +79,7 @@ struct config_filestat_t {
73 char *fname; 79 char *fname;
74 apr_size_t linesparsed; 80 apr_size_t linesparsed;
75 apr_size_t lineskipped; 81 apr_size_t lineskipped;
82 apr_size_t linesbad;
76 const char *result; 83 const char *result;
77 apr_time_t start; 84 apr_time_t start;
78 apr_time_t stop; 85 apr_time_t stop;