cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carsten Ziegeler <cziege...@apache.org>
Subject Re: Logging, Re: [jira] Created: (COCOON-2147) Log4j configuration is loaded to late with Spring Configurator
Date Thu, 15 Nov 2007 17:13:58 GMT
Vadim Gritsenko wrote:
> Carsten Ziegeler (JIRA) wrote:
>> Log4j configuration is loaded to late with Spring Configurator
> ...
>> There might be different solutions for this:
>> a) Provide a configuration servlet/servlet listener (Spring provides
>> one as well, but that's only usuable inside an expanded war file)
>> b) Create an XML tag for spring configuration (like we do for the
>> settings). This will ensure that logging is setup before beans are setup
> 
> I'd prefer either a or b. b is even better since you don't have to touch
> web.xml.
> 
> Speaking of logging, I think latest jetty maven plugin (or something
> else?) broke all the logging and now everything is dumped to the
> console, and log file is empty. It started doing this for me day or two
> ago.
> 
By default log4j loads the log4j.properties from the classpath. Perhaps
this is enough?


Carsten


-- 
Carsten Ziegeler
cziegeler@apache.org

Mime
View raw message