Skip to content

Commit ac68bb0

Browse files
committed
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
1 parent 9c4d045 commit ac68bb0

2 files changed

Lines changed: 0 additions & 27 deletions

File tree

docs/manual/mod/mod_log_config.xml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -361,23 +361,6 @@
361361
</usage>
362362
</directivesynopsis>
363363

364-
<directivesynopsis>
365-
<name>CookieLog</name>
366-
<description>Sets filename for the logging of cookies</description>
367-
<syntax>CookieLog <var>filename</var></syntax>
368-
<contextlist><context>server config</context><context>virtual host</context>
369-
</contextlist>
370-
<compatibility>This directive is deprecated.</compatibility>
371-
372-
<usage>
373-
<p>The <directive>CookieLog</directive> directive sets the
374-
filename for logging of cookies. The filename is relative to the
375-
<directive module="core">ServerRoot</directive>. This directive is
376-
included only for compatibility with <code>mod_cookies</code>,
377-
and is deprecated.</p>
378-
</usage>
379-
</directivesynopsis>
380-
381364
<directivesynopsis>
382365
<name>CustomLog</name>
383366
<description>Sets filename and format of log file</description>

modules/loggers/mod_log_config.c

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@
3131
* Log to file fn with format given by the format
3232
* argument
3333
*
34-
* CookieLog fn For backwards compatability with old Cookie
35-
* logging module - now deprecated.
36-
*
3734
* There can be any number of TransferLog and CustomLog
3835
* commands. Each request will be logged to _ALL_ the
3936
* named files, in the appropriate format.
@@ -1284,11 +1281,6 @@ static const char *set_transfer_log(cmd_parms *cmd, void *dummy,
12841281
return add_custom_log(cmd, dummy, fn, NULL, NULL);
12851282
}
12861283

1287-
static const char *set_cookie_log(cmd_parms *cmd, void *dummy, const char *fn)
1288-
{
1289-
return add_custom_log(cmd, dummy, fn, "%{Cookie}n \"%r\" %t", NULL);
1290-
}
1291-
12921284
static const char *set_buffered_logs_on(cmd_parms *parms, void *dummy, int flag)
12931285
{
12941286
buffered_logs = flag;
@@ -1311,8 +1303,6 @@ AP_INIT_TAKE1("TransferLog", set_transfer_log, NULL, RSRC_CONF,
13111303
"the filename of the access log"),
13121304
AP_INIT_TAKE12("LogFormat", log_format, NULL, RSRC_CONF,
13131305
"a log format string (see docs) and an optional format name"),
1314-
AP_INIT_TAKE1("CookieLog", set_cookie_log, NULL, RSRC_CONF,
1315-
"the filename of the cookie log"),
13161306
AP_INIT_FLAG("BufferedLogs", set_buffered_logs_on, NULL, RSRC_CONF,
13171307
"Enable Buffered Logging (experimental)"),
13181308
{NULL}

0 commit comments

Comments
 (0)