diff options
author | Edward Rudd <urkle@outoforder.cc> | 2008-10-30 23:03:13 (GMT) |
---|---|---|
committer | Edward Rudd <urkle@outoforder.cc> | 2008-10-30 23:03:13 (GMT) |
commit | e940dd14426c5a725fda70a154fd2bf4bb91ba44 (patch) | |
tree | cfdb73628640839e4a02106032f693c6dbb9b352 /utility/mod_log_sql.conf | |
parent | 4c46bfeaa5ec5c6a87c29ece56891e070d3faee1 (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/mod_log_sql.conf')
-rw-r--r-- | utility/mod_log_sql.conf | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/utility/mod_log_sql.conf b/utility/mod_log_sql.conf index f26f113..5b2c0f9 100644 --- a/utility/mod_log_sql.conf +++ b/utility/mod_log_sql.conf | |||
@@ -1,5 +1,6 @@ | |||
1 | InputDirectory ./logs | 1 | InputDirectory ./logs |
2 | ErrorLog ./error_log | 2 | ErrorLog ./error_log |
3 | |||
3 | DBDDriver mysql | 4 | DBDDriver mysql |
4 | DBDParams "host=localhost;user=root;dbname=apache_log" | 5 | DBDParams "host=localhost;user=root;dbname=apache_log" |
5 | Table access_log | 6 | Table access_log |
@@ -9,6 +10,9 @@ LogLevel debug | |||
9 | DryRun off | 10 | DryRun off |
10 | Summary on | 11 | Summary on |
11 | 12 | ||
13 | BadLineFile ./badlines.log | ||
14 | BadLineMax 10 | ||
15 | |||
12 | LogFormatConfig CLF remhost String | 16 | LogFormatConfig CLF remhost String |
13 | LogFormatConfig CLF ident String | 17 | LogFormatConfig CLF ident String |
14 | LogFormatConfig CLF user String | 18 | LogFormatConfig CLF user String |