When you say "environment variables", do you mean System (JVM-wide) properties? If so, then you just reference them as ${mysyspropname}. I imagine that JBoss sets some system properties and that is probably what you are seeing referenced in the log4j config files you speak of. The example you provide where the property name is prefixed with "env" is invalid. There's no specific "env" scope, or any scope for that matter, used by Log4j to resolve properties.
Jake Quoting Farzad Kohantorabi <[EMAIL PROTECTED]>: > Hi group, > > > > I am not sure if it is the right place to ask this question but I have > seen usage of jboss variables in the log4j.xml file. However, I am > wondering if it is possible to use environment variables in the config > file, something like ${env.LOG_DIR}. > > > > > > Thanks, > > Farzad- > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]