http://apache-logging.6191.n7.nabble.com/Discussion-about-correct-initialization-of-log4j2-in-OSGi-context-td39733.html
--
View this message in context:
http://apache-logging.6191.n7.nabble.com/ERROR-StatusLogger-Unable-to-locate-a-logging-implementation-using-SimpleLogger-tp39952p39955.html
Se
I tested version 2.0 beta 9 (trunk) but the error is still there. Either the
documentation should be changed or the packages of common-logging-api should
be exported.
...
org.apache.felix
maven-bundle-plugin
true
true
${osgi.sy
sorry, the last post belongs to a other issue of log4j-jcl but it is
similary. The log4j 1.2 api can not be resolved. Again, the documentation is
wrong or the api has to be included in the export.
This is the right pom-configuration
org.apache.log4j;version=1.2,org.apache.log4j.helpers;version=
The doku. says:
"Usage
Using the Commons Logging Bridge is straightforward. Simply add the bridge
jar along with the other Log4j 2 jars and all logging done using the Commons
Logging API will be routed to Log4j."
Should I replace the commons.logging jar with jcl-bridge or should I just
add the j
The commons-logging jar needs to be included along with the jcl-bridge. The
jcl-bridge only supplies the LogFactory and Log implementations, not the API.
On Aug 20, 2013, at 6:10 AM, Roland wrote:
> The doku. says:
>
> "Usage
>
> Using the Commons Logging Bridge is straightforward. Simply ad
Can you attach patches to Jira issues?
Ralph
On Aug 20, 2013, at 5:32 AM, Roland wrote:
> sorry, the last post belongs to a other issue of log4j-jcl but it is
> similary. The log4j 1.2 api can not be resolved. Again, the documentation is
> wrong or the api has to be included in the export.
>
>
How does log4j2-jcl ensure that OSGi-bundles get its implemention but not the
commons.logging impl.?
--
View this message in context:
http://apache-logging.6191.n7.nabble.com/Replace-commons-logging-with-jcl-bridge-tp39970p39976.html
Sent from the Log4j - Users mailing list archive at Nabble.co
The log4j2-jcl jar contains a file
META-INF/services/org.apache.commons.logging.LogFactory which contains
org.apache.logging.log4j.jcl.LogFactoryImpl. Commons Logging uses that class
name to bind the implementation to its API.
Ralph
On Aug 20, 2013, at 7:53 AM, Roland wrote:
> How does log4j
Hi,
OK, I've got it.
Thx
Roland
--
View this message in context:
http://apache-logging.6191.n7.nabble.com/Replace-commons-logging-with-jcl-bridge-tp39970p39990.html
Sent from the Log4j - Users mailing list archive at Nabble.com.
-