Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-1198

Add ability to pass custom annotations to be added to log lines

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.1.0
    • None
    • None

    Description

      Users need a way to associate log lines emitted by Phoenix with other logs generated by higher levels of applications. This JIRA calls for allowing callers to pass custom annotations to Phoenix connections. The mechanism for passing in these annotations is the same as PHOENIX-1196. Phoenix will look for properties that start with "phoenix.annotation." and use them when generating log lines.

      e.g. If a connection was created with a property phoenix.annotation.userid=123 Phoenix would emit log lines that would look like this:

      {userid=123} some log line

      Attachments

        Issue Links

          Activity

            People

              elilevine Eli Levine
              elilevine Eli Levine
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: