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

Should support changing program's log level dynamically.

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.0
    • Component/s: None
    • Labels:
    • Release Notes:
      Allow updating or resetting log levels for program type Worker, Flow and Service dynamically via REST endpoints.
    • Rank:
      1|hzza1r:

      Description

      Currently if we have to change CDAP program's log-level, we have to change the log level in logback.xml in (src/main/resources) of the app and redeploy the app.

      If the app's program is already running, the have to be restarted to get the logback changes in the app.

      This is not ideal, we need a way to change the log level dynamically through our API.

      Related Twill JIRA that needs to be addressed : https://issues.apache.org/jira/browse/TWILL-138

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                yaojie Yaojie Feng
                Reporter:
                shankar Shankar Selvam
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: