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 (Created) (JIRA)" <ji...@apache.org> on 2012/03/19 23:43:39 UTC

[jira] [Created] (TS-1156) Multiple "time" tags in a log format gets bad results

Multiple "time" tags in a log format gets bad results
-----------------------------------------------------

                 Key: TS-1156
                 URL: https://issues.apache.org/jira/browse/TS-1156
             Project: Traffic Server
          Issue Type: Bug
          Components: Logging
            Reporter: Leif Hedstrom
             Fix For: 3.1.4


It seems putting two (or more) "date time" tags in a custom log generates bad results. For example, with one such tag, I see:

{code}
....   [%<cqtn>]

.... [19/Mar/2012:14:30:51 -0600] 
{code}

vs

{code}
....   [%<cqts> %<cqtn>]


....  [1838769999 07/Apr/2028:19:26:39 -0600]
{code}

This is obviously not the correct date now for either tags (the first is not correct either). I'm guessing something in the marshalling code might be corrupting the timestamp?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TS-1156) Multiple "time" tags in a log format gets bad results

Posted by "Leif Hedstrom (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TS-1156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13232988#comment-13232988 ] 

Leif Hedstrom commented on TS-1156:
-----------------------------------

It might actually be the cqts marshalling that's broken, even logging just cqts shows bad reqults (compared to e.g. cqtq)
                
> Multiple "time" tags in a log format gets bad results
> -----------------------------------------------------
>
>                 Key: TS-1156
>                 URL: https://issues.apache.org/jira/browse/TS-1156
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Logging
>            Reporter: Leif Hedstrom
>             Fix For: 3.1.4
>
>
> It seems putting two (or more) "date time" tags in a custom log generates bad results. For example, with one such tag, I see:
> {code}
> ....   [%<cqtn>]
> .... [19/Mar/2012:14:30:51 -0600] 
> {code}
> vs
> {code}
> ....   [%<cqts> %<cqtn>]
> ....  [1838769999 07/Apr/2028:19:26:39 -0600]
> {code}
> This is obviously not the correct date now for either tags (the first is not correct either). I'm guessing something in the marshalling code might be corrupting the timestamp?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (TS-1156) Multiple "time" tags in a log format gets bad results

Posted by "Leif Hedstrom (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-1156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom resolved TS-1156.
-------------------------------

    Resolution: Fixed

Resolved in cc6da81a3250bb9d7b5a276c8e69b9cc00e48e19.
                
> Multiple "time" tags in a log format gets bad results
> -----------------------------------------------------
>
>                 Key: TS-1156
>                 URL: https://issues.apache.org/jira/browse/TS-1156
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Logging
>            Reporter: Leif Hedstrom
>            Assignee: Leif Hedstrom
>             Fix For: 3.1.4
>
>
> It seems putting two (or more) "date time" tags in a custom log generates bad results. For example, with one such tag, I see:
> {code}
> ....   [%<cqtn>]
> .... [19/Mar/2012:14:30:51 -0600] 
> {code}
> vs
> {code}
> ....   [%<cqts> %<cqtn>]
> ....  [1838769999 07/Apr/2028:19:26:39 -0600]
> {code}
> This is obviously not the correct date now for either tags (the first is not correct either). I'm guessing something in the marshalling code might be corrupting the timestamp?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (TS-1156) Multiple "time" tags in a log format gets bad results

Posted by "Leif Hedstrom (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-1156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom reassigned TS-1156:
---------------------------------

    Assignee: Leif Hedstrom
    
> Multiple "time" tags in a log format gets bad results
> -----------------------------------------------------
>
>                 Key: TS-1156
>                 URL: https://issues.apache.org/jira/browse/TS-1156
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Logging
>            Reporter: Leif Hedstrom
>            Assignee: Leif Hedstrom
>             Fix For: 3.1.4
>
>
> It seems putting two (or more) "date time" tags in a custom log generates bad results. For example, with one such tag, I see:
> {code}
> ....   [%<cqtn>]
> .... [19/Mar/2012:14:30:51 -0600] 
> {code}
> vs
> {code}
> ....   [%<cqts> %<cqtn>]
> ....  [1838769999 07/Apr/2028:19:26:39 -0600]
> {code}
> This is obviously not the correct date now for either tags (the first is not correct either). I'm guessing something in the marshalling code might be corrupting the timestamp?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira