diff options
Diffstat (limited to 'utility/mod_log_sql.conf')
-rw-r--r-- | utility/mod_log_sql.conf | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/utility/mod_log_sql.conf b/utility/mod_log_sql.conf new file mode 100644 index 0000000..6cfae61 --- /dev/null +++ b/utility/mod_log_sql.conf | |||
@@ -0,0 +1,30 @@ | |||
1 | InputDirectory ./logs | ||
2 | ErrorLog ./error_log | ||
3 | DBConnect mysql://username:host@server/database | ||
4 | DBParam socketfile /tmp/mysql.sock | ||
5 | Table apache_logs | ||
6 | MachineID 7of9 | ||
7 | UseTransactions on | ||
8 | LogLevel notice | ||
9 | DryRun on | ||
10 | Summary on | ||
11 | |||
12 | LogFormatConfig CLF host String | ||
13 | LogFormatConfig CLF ident String | ||
14 | LogFormatConfig CLF user String | ||
15 | LogFormatConfig CLF date Date | ||
16 | LogFormatConfig CLF request String | ||
17 | LogFormatConfig CLF status Number | ||
18 | LogFormatConfig CLF bytes_sent Number | ||
19 | |||
20 | LogFormatConfig Combined host String | ||
21 | LogFormatConfig Combined ident String | ||
22 | LogFormatConfig Combined user String | ||
23 | LogFormatConfig Combined date Date | ||
24 | LogFormatConfig Combined request String | ||
25 | LogFormatConfig Combined status Number | ||
26 | LogFormatConfig Combined bytes_sent Number | ||
27 | LogFormatConfig Combined referer String | ||
28 | LogFormatConfig Combined agent String | ||
29 | |||
30 | LogFormat Combined | ||