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

Debug logging for a single connection in production traffic.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.0.1
    • 6.1.0
    • Core, Logging

    Description

      Presently, when there's a production issue (e.g. TS-3049, TS-2983 etc), it is really hard to isolate/debug with the high traffic. Turning on debug logs in traffic is unfortunately not an option due to performance impacts. Even if you took a performance hit and turned on the logs, it is just as hard to separate out the logs for a single connection/transaction among the millions of the logs output in a short period of time.

      I think it would be good if there's a way to turn on debug logs in a controlled manner in production environment. One simple option is to support a config setting for example, with a client-ip, which when set, would turn on debug logs for any connection made by just that one client. If needed, instead of one client-ip, we may allow configuring up to 'n' (say, 5) client-ips.

      If there are other ideas, please comment.

      Attachments

        1. ts-3072-config.diff
          6 kB
          Susan Hinrichs
        2. ts-3072.diff
          8 kB
          Susan Hinrichs

        Activity

          People

            shinrich Susan Hinrichs
            sudheerv Sudheer Vinukonda
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: