Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-5893

Improvements to log APIs to support new Log Viewer

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.4.0
    • Fix Version/s: 3.5.0
    • Component/s: Log
    • Labels:
    • Rank:
      1|hzzcjr:

      Description

      This jira is to capture the backend changes required to support the new log viewer in 3.5.0. The required changes include:

      1. Accept logPattern as a query parameter
      2. Allow sending a list of objects instead of a list of strings as response from the API. Each object should include:
        • Timestamp
        • Log Level
        • Thread name
        • Fully Qualified Class name
        • Class Name without package
        • Line number
        • Message
        • Stack Trace

      These changes should perhaps be made in the undocumented /next and /prev APIs to begin with, so that backward compatibility is maintained for documented APIs, while still providing the functionality that the UI needs.

      The existing query parameters should stay.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gokul Gokul Gunasekaran
                Reporter:
                bhooshan Bhooshan Mogal
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: