You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Zhao Yongming (JIRA)" <ji...@apache.org> on 2011/08/11 08:37:27 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13082961#comment-13082961 ] 

Zhao Yongming commented on TS-697:
----------------------------------

tested with current trunk, it works without any crash. so we should close this issue.

> 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
>            Assignee: Zhao Yongming
>            Priority: Minor
>             Fix For: 3.1.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