1 Reply Latest reply on Mar 15, 2007 4:44 PM by daniel.kamp

    configure log4J to log to a file relative to an environment

    daniel.kamp

      Good afternoon all,
      First, this is specific to a deployment on a Windows based domain.
      I am trying to configure log4j to log to a directory, offset from a path from an environment variable.

      Example:

      I have an environment variable LOG_PATH = C:\Logs
      I want to change the logging path in log4j.xml from

      to


      I was trolling google and found someone who suggested using ${env.} but I found this did not work.

      Does anyone have an idea how to do this? Any help would be greatly appreciated.

      Thank you,
      Dan