From: Rich Bowen Date: Mon, 19 Sep 2011 13:40:08 +0000 (+0000) Subject: Removes the CookieLog directive, which has been documented as deprecated for more... X-Git-Tag: 2.3.15~224 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0084dd7fc600d87d930f9c055bf0faa5d2b576da;p=thirdparty%2Fapache%2Fhttpd.git Removes the CookieLog directive, which has been documented as deprecated for more than a decade. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1172625 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_log_config.xml b/docs/manual/mod/mod_log_config.xml index 5b6f52f6ed8..edfd6fc5177 100644 --- a/docs/manual/mod/mod_log_config.xml +++ b/docs/manual/mod/mod_log_config.xml @@ -361,23 +361,6 @@ - -CookieLog -Sets filename for the logging of cookies -CookieLog filename -server configvirtual host - -This directive is deprecated. - - -

The CookieLog directive sets the - filename for logging of cookies. The filename is relative to the - ServerRoot. This directive is - included only for compatibility with mod_cookies, - and is deprecated.

-
-
- CustomLog Sets filename and format of log file diff --git a/modules/loggers/mod_log_config.c b/modules/loggers/mod_log_config.c index 6218bd16a26..96d77c6a593 100644 --- a/modules/loggers/mod_log_config.c +++ b/modules/loggers/mod_log_config.c @@ -31,9 +31,6 @@ * Log to file fn with format given by the format * argument * - * CookieLog fn For backwards compatability with old Cookie - * logging module - now deprecated. - * * There can be any number of TransferLog and CustomLog * commands. Each request will be logged to _ALL_ the * named files, in the appropriate format. @@ -1284,11 +1281,6 @@ static const char *set_transfer_log(cmd_parms *cmd, void *dummy, return add_custom_log(cmd, dummy, fn, NULL, NULL); } -static const char *set_cookie_log(cmd_parms *cmd, void *dummy, const char *fn) -{ - return add_custom_log(cmd, dummy, fn, "%{Cookie}n \"%r\" %t", NULL); -} - static const char *set_buffered_logs_on(cmd_parms *parms, void *dummy, int flag) { buffered_logs = flag; @@ -1311,8 +1303,6 @@ AP_INIT_TAKE1("TransferLog", set_transfer_log, NULL, RSRC_CONF, "the filename of the access log"), AP_INIT_TAKE12("LogFormat", log_format, NULL, RSRC_CONF, "a log format string (see docs) and an optional format name"), -AP_INIT_TAKE1("CookieLog", set_cookie_log, NULL, RSRC_CONF, - "the filename of the cookie log"), AP_INIT_FLAG("BufferedLogs", set_buffered_logs_on, NULL, RSRC_CONF, "Enable Buffered Logging (experimental)"), {NULL}