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.
Vadim