see http://www.slf4j.org/legacy.html
you are looking for "SLF4J bound to log4j with redirection of
commons-logging and jul calls to SLF4J". See the section on jul-to-slf4j
bridge, and the reference to SLF4JBridgeHandler javadocs. I would ask on
one of the SLF4J groups for more details, if neede
I am not following. I already have slf4j in my stack (needed by other
libraries), although I've written no code that directly interacts with it.
I assume that you are telling me to implement getParentLogger() in my
datasource (so that it compiles in Java7) and that I should put a couple lines
I have hit the same situation with software that requires use of Apahce
commons logging, I use slf4j (and have it feed log4j); it has adapters to
let you log from j.u.l and commons logging. I don't know if it's best
practice, but it certainly works.
■ DOUGLAS E. WEGSCHEID // LEAD ENGINEER
(269)
On Thu, 12 Jan 2012 10:13:20 -0500
Anjib Mulepati wrote:
Hi
Is there any help I can get in this?
* Are you log4j.properties files for each project identical?
o No
* the config file for you webapp doesn't provide the configuration you
require for your DAO
o How to do this?
Hi
Is there any help I can get in this?
* Are you log4j.properties files for each project identical?
o No
* the config file for you webapp doesn't provide the configuration you
require for your DAO
o How to do this? What does this mean?
* is the DAO project deployed in WEB-INF/li