1 Reply Latest reply on Apr 5, 2006 3:11 AM by Ron Sigal

    Remoting log4j

    Igal Dvir Newbie

      Hi,
      How can I configure remoting to load the log4j.properties or log4j.xml from a desired location (Other than default)? I tried log4j's log4j.configuration system property but it has no effect.

      Thanks,
      Daniel

        • 1. Re: Remoting log4j
          Ron Sigal Master

          Hi Daniel,

          There are (at least) a couple of ways of pointing log4j to a configuration file. One is to add to your CLASSPATH the directory holding your configuration file.
          Another is to use the log4j.configuration system property, e.g.:

          -Dlog4j.configuration="file:/C:\Documents and Settings\rsigal\workspace\JBossRemoting\output\etc\log4j.xml"


          Note the use of quotes and URL notation.