[
https://issues.apache.org/jira/browse/TS-3446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14603111#comment-14603111
]
Alan M. Carroll commented on TS-3446:
-------------------------------------
I think cookies are sufficiently special and widely used to justify specific
parsing supported in the core for logging. I don't see the offsets working
because of the potentially dynamic size of the cookies and doing all those
string copies and header heap allocations for using the @headers seems
sub-optimal as well.
> Custom logging for Cookie header
> --------------------------------
>
> Key: TS-3446
> URL: https://issues.apache.org/jira/browse/TS-3446
> Project: Traffic Server
> Issue Type: Improvement
> Components: Core
> Reporter: Scott Beardsley
> Priority: Minor
> Fix For: sometime
>
>
> I have a use case that requires logging a specific cookie in the UA request.
> The only way to do this today is to log the entire Cookie request header then
> parse out the cookie name/value pair that I am interested in after the fact.
> The problem with that approach is that some cookie data is sensitive and must
> not exist in logs. Plus logging the entire cookie header is just wasteful.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)