Hey Alan,
Check this out from the JPA example in the lift codebase repo -
http://is.gd/1fQuw
That enables logging for the 3rd party JPA JARs and it works great. It
could probably be done more elegantly with an external file, but that
certainly works :-)
Cheers, Tim
On Jun 27, 1:06 am, Alan M
I think that simply putting log4j.xml in WEB-INF/classes folder does
the trick.
Br's,
Marius
On Jun 27, 3:06 am, Alan M alan.morten...@gmail.com wrote:
I'm trying to enable log4j logging in a third party library (well
third party to me.. it was developed in house) so that it logs it's
output
I tried the log4j.xml in classes but it didn't work, until... :) I
renamed it to default.log4j.xml and fixed a conflict with log4j and
commons-logging libraries. It turns out in Tomcat that you have to be
very careful about how you load those libraries, especially when using
something like