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 2011/05/21 04:38:47 UTC

[jira] [Updated] (TS-697) Attempting to log the "shi" and "pqsi" parameters via logs_xml.config (IP types) causes a segfault

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

Leif Hedstrom updated TS-697:
-----------------------------

    Backport to Version: 3.0.1

Marking these as targets for backport to 3.0.1, so we remember that they are "important".

> Attempting to log the "shi" and "pqsi" parameters via logs_xml.config (IP types) causes a segfault
> --------------------------------------------------------------------------------------------------
>
>                 Key: TS-697
>                 URL: https://issues.apache.org/jira/browse/TS-697
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Logging
>    Affects Versions: 2.1.6
>         Environment: Solaris 10 u8
>            Reporter: Eric Connell
>            Priority: Minor
>             Fix For: 3.1
>
>
> Creating a LogFormat that contains either %<shi> or %<pqsi> symbols causes a segfault when attempting to unmarshal the IP in LogAccess::unmarshal_ip().
> The following config in logs_xml.config should recreate the problem:
> {code}
> <LogFormat>
>   <Name = "access_log"/>
>   <Format = "%<shi>"/>
> </LogFormat> 
> <LogObject> 
>   <Format = "access_log"/>
>   <Filename = "access_log"/>
> </LogObject> 
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira