Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-1156

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.1.4
    • Logging
    • None

    Description

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

      ....   [%<cqtn>]
      
      .... [19/Mar/2012:14:30:51 -0600] 
      

      vs

      ....   [%<cqts> %<cqtn>]
      
      
      ....  [1838769999 07/Apr/2028:19:26:39 -0600]
      

      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?

      Attachments

        Activity

          People

            zwoop Leif Hedstrom
            zwoop Leif Hedstrom
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: