Hi all,
at Syncope we are currently migrating from Logback to Log4j 2.0, as per
SYNCOPE-405 [1].
Our codebase is almost completely based on SLF4J API, so we are
evaluating the SLF4J bridge [2] (e.g. log4j-slf4j-impl): this works
almost fine, except for some classes (like as [3]) where we need to
programmatically set some logger levels.
I was able to do this with lo4j only by including log4j-core;
unfortunately it seems that including both log4j-slf4j-impl and
log4j-core generates some kind of block.
Am I doing something wrong?
We are using the last stable release (2.0-beta8).
Regards.
[1] https://issues.apache.org/jira/browse/SYNCOPE-405
[2] http://logging.apache.org/log4j/2.x/log4j-slf4j-impl/index.html
[3]
https://svn.apache.org/repos/asf/syncope/trunk/core/src/main/java/org/apache/syncope/core/init/LoggerLoader.java
--
Francesco Chicchiriccò
ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member
http://people.apache.org/~ilgrosso/
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]