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

logback.xml inside application jar never get picked up

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.5.1, 3.5.0, 3.3.7
    • Fix Version/s: 4.0.0, 3.5.2
    • Component/s: App Fabric
    • Labels:
    • Release Notes:
      Fixes a bug that prevented from using logback.xml from application jar.
    • Rank:
      1|hzznqv:

      Description

      It is caused by caching of container jar introduced by CDAP-7021. When CDAP launches a program, it detects which logback.xml to use and call TwillPreparer.withResources to make it available for the container classpath. However, due to container.jar caching, after the first program launched, subsequent launches of program won't have the desired logback.xml.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                terence Terence Yim
                Reporter:
                terence Terence Yim
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: