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

Support variable substitution for configuration file names

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 0.10.0
    • None
    • Configurator
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: