> INFO: Deploying web application archive cas.war
> log4j:WARN No appenders could be found for logger
> (org.apache.commons.digester.Digester.sax).
> log4j:WARN Please initialize the log4j system properly.
That doesn't have anything to do with finding the log4j config, per
se. It could also happe
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
The method I did, which did not use an XML configuration file, did not
require editing pom.xml at all. The snippit I gave was the only change
- -- in addition to moving the log4j.properties file to a new location --
which existed prior to redeploying o
On Thu, Apr 1, 2010 at 12:28 PM, 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:
>
>
>log4jConfigLocation
>file://${cas.home}/log4j.xml
>
>
> where cas.home is a prop
-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
log4jConfigLocation
file://${CONFIG_HOME}/log4j.properties
CONFIG_HOME is an environmen
> 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:
log4jConfigLocation
file://${cas.home}/log4j.xml
where cas.home is a property that points to the full path of our CAS
application home directory
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I would like to place the config file log4j.properties outside the war
file, so that we can easily maintain different log levels on different
hosts, and more easily change the log levels on a single host. I am
having a hard time finding where the locat