Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-5169

Adding System property in pattern-formatter in domain/standalone xmls of as7 does not print the value

    XMLWordPrintable

Details

    Description

      Adding a system property in the pattern string of logging.properties ${<system property>} substitutes the value in log file. However the same in domain.xml/standalone.xml does not substitute the variable with the value.

      (Addition notes: PropertyHelper.resolveValue() is used to get the value in normal case. However from AS7 this appears to get bypassed as in FormatterSpec.java : apply() calls the constructor of PatternFormatter directly which in turn resolves other variables and system property remains unresolved)

      Attachments

        Activity

          People

            jperkins-rhn James Perkins
            ranga033 rang s (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: