Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-45639

Add milli seconds timestamp precision to ns_server http access log

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Do
    • None
    • CheshireCat.Next
    • ns_server
    • None
    • 1

    Description

      Current format example [12/Apr/2021:11:38:09 -0700]. In some cases, where there are bulk API calls is short duration, it is difficult to correlate debug trace lines with a specific request.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          This was pretty easy to do, but FYI lnav (and probably other programs) no longer natively understood the timestamps the way they did before. This may not be a problem at all.. but if tools are used to parse and use any of these timestamps, it could potentially pose a problem. So I can merge this if we can decide it's worth potentially breaking existing tools and scripts. If we don't really think there are tools and scripts that care – it does make it easier to correlate very precise times across different log files. 

          bryan.mccoid Bryan McCoid added a comment - This was pretty easy to do, but FYI lnav (and probably other programs) no longer natively understood the timestamps the way they did before. This may not be a problem at all.. but if tools are used to parse and use any of these timestamps, it could potentially pose a problem. So I can merge this if we can decide it's worth potentially breaking existing tools and scripts. If we don't really think there are tools and scripts that care – it does make it easier to correlate very precise times across different log files. 

          Decided among the team it's too destructive to add this because it will mess with third-party tools that parse logs. 

          bryan.mccoid Bryan McCoid added a comment - Decided among the team it's too destructive to add this because it will mess with third-party tools that parse logs. 

          People

            bryan.mccoid Bryan McCoid
            meni.hillel Meni Hillel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty