You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2016/10/03 19:16:20 UTC

[jira] [Updated] (TS-4917) Trying to WIPE_FIELD_VALUE on some fields breaks logging

     [ https://issues.apache.org/jira/browse/TS-4917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom updated TS-4917:
------------------------------
    Fix Version/s: 7.1.0

> Trying to WIPE_FIELD_VALUE on some fields breaks logging
> --------------------------------------------------------
>
>                 Key: TS-4917
>                 URL: https://issues.apache.org/jira/browse/TS-4917
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Logging
>            Reporter: Phillip Moore
>             Fix For: 7.1.0
>
>
> If you setup a LogFilter with an Action of "WIPE_FIELD_VALUE" on cqtx it breaks logging and no lines are logged to the LogObject that uses that filter. 
> In the example below if remove_access_token_cquuc is used it works correctly. remove_access_token_cqtx makes no lines be logged. 
> <LogFilter>
>   <Name      = "remove_access_token_cquuc" />
>   <Condition = "%<cquuc> CONTAIN access_token" />
>   <Action    = "WIPE_FIELD_VALUE" />
> </LogFilter>
> <LogFilter>
>   <Name      = "remove_access_token_cqtx" />
>   <Condition = "%<cqtx> CONTAIN access_token" />
>   <Action    = "WIPE_FIELD_VALUE" />
> </LogFilter>
> <LogFormat>
>   <Name   = "b_json" />
>   <Format = "{\"chi\":\"%<chi>\",\"chp\":\"%<chp>\",\"caun\":\"%<caun>\",\"cqtn\":\"%<cqtn>\",\"cqhm\":\"%<cqhm>\",\"cquuc\":\"%<cquuc>\",\"cqtx\":\"%<cqtx>\",\"shi\":\"%<shi>\",\"pssc\":\"%<pssc>\",\"pscl\":%<pscl>,\"sssc\":\"%<sssc>\",\"sscl\":%<sscl>,\"cqbl\":%<cqbl>,\"pqbl\":%<pqbl>,\"cqhl\":%<cqhl>,\"pshl\":%<pshl>,\"pqhl\":%<pqhl>,\"sshl\":%<sshl>,\"ttms\":%<ttms>,\"phr\":\"%<phr>\",\"cfsc\":\"%<cfsc>\",\"pfsc\":\"%<pfsc>\",\"crc\":\"%<crc>\",\"cquuh\":\"%<cquuh>\",\"sshcl\":\"%<{Content-Length}ssh>\",\"pshce\":\"%<{Content-Encoding}psh>\",\"cqhcl\":\"%<{Content-Length}cqh>\"}" />
> </LogFormat>
> <LogObject>
>   <Format = "b_json" />
>   <Filename = "b_json" />
>   <Filters = "remove_healthcheck,remove_access_token_cqtx" />
> </LogObject>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)