summaryrefslogtreecommitdiff
path: root/include/http_log.h
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2011-11-18 13:10:06 +0000
committerJeff Trawick <trawick@apache.org>2011-11-18 13:10:06 +0000
commit7cc67a8c39ff7c67aa79d1a9516a39fd018a51aa (patch)
tree95cf2387af384a893e7b2f55b0017702234e3a40 /include/http_log.h
parent582674a46248dc9265c392dc00da4962da0abbc6 (diff)
downloadhttpd-7cc67a8c39ff7c67aa79d1a9516a39fd018a51aa.tar.gz
add conn_rec to error log hook
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1203634 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/http_log.h')
-rw-r--r--include/http_log.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/http_log.h b/include/http_log.h
index 6a1717bb37..038feebd5f 100644
--- a/include/http_log.h
+++ b/include/http_log.h
@@ -633,6 +633,7 @@ AP_DECLARE(apr_file_t *) ap_piped_log_write_fd(piped_log *pl);
* @param level The level of this error message
* @param status The status code from the previous command
* @param s The server which we are logging for
+ * @param c The connection which we are logging for
* @param r The request which we are logging for
* @param pool Memory pool to allocate from
* @param errstr message to log
@@ -640,8 +641,8 @@ AP_DECLARE(apr_file_t *) ap_piped_log_write_fd(piped_log *pl);
AP_DECLARE_HOOK(void, error_log, (const char *file, int line,
int module_index, int level,
apr_status_t status, const server_rec *s,
- const request_rec *r, apr_pool_t *pool,
- const char *errstr))
+ const conn_rec *c, const request_rec *r,
+ apr_pool_t *pool, const char *errstr))
/**
* hook method to generate unique id for connection or request