-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Marvin,
Thanks for your (as always) helpful email.
I ended up making the following change to the file
src/main/webapp/WEB-INF/web.xml
<context-param>
<param-name>log4jConfigLocation</param-name>
<param-value>file://${CONFIG_HOME}/log4j.properties</param-value>
</context-param>
CONFIG_HOME is an environmental variable we have set, and this works
wonderfully.
Marvin Addison wrote:
>> I would like to place the config file log4j.properties outside the war
>> file
>
> You'll want something like the following in your web.xml:
>
> <context-param>
> <param-name>log4jConfigLocation</param-name>
> <param-value>file://${cas.home}/log4j.xml</param-value>
> </context-param>
>
> where cas.home is a property that points to the full path of our CAS
> application home directory.
>
> M
>
- --
Jeff Chapin,
Assistant Systems/Applications Administrator
ITS-IS, University of Northern Iowa
Phone: 319-273-3162 Email: [email protected]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
iEYEARECAAYFAku2GqwACgkQQiaEUfQoY7TUmQCdEraOMvSp/rZswoGTmGj+rDzV
hLYAniLazbLH95oxe9z/q0/glpyh4IdY
=OKY4
-----END PGP SIGNATURE-----
--
You are currently subscribed to [email protected] as:
[email protected]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/cas-user