Uploaded image for project: 'Log4cxx'
  1. Log4cxx
  2. LOGCXX-287

Support variable substitution for configuration file names

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 0.10.0
    • Fix Version/s: None
    • Component/s: Configurator
    • Labels:
      None
    • Environment:
      All

      Description

      I was pleasantly surprised to find out that you did support the expansion of environment variables within a configuration file using the form ${VARIABLE}. But it would be very handy if you could also use them when passing the file name of the configuration file to the configurator.

      So for example if I have:

      filename = "${FOOBAR_HOME}\log\configutation.xml";
      DOMConfigurator( fileName );

      It would expand the FOOBAR_HOME according to the environment.

        Attachments

          Activity

            People

            • Assignee:
              carnold@apache.org Curt Arnold
              Reporter:
              dalewking Dale King
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: