Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-723

insertFromJNDI does not use Property substitution

    XMLWordPrintable

Details

    Description

      <property name="myProperty" value="myJndiKey" />

      <!-- it does not work: -->
      <insertFromJNDI env-entry-name="java:comp/env/${myProperty}" as="myJndiValue" />
      <!-- result: ...InsertFromJNDIAction - [java:comp/env/${myProperty}] has null or empty value -->

      <!-- it works: -->
      <property file="${myProperty}myPropFile.properties" />
      <!-- result: myJndiKeymyPropFile.properties -->

      Attachments

        Activity

          People

            ceki Ceki Gülcü
            roti Hrotkó Gábor
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: