So you are trying to build a custom Logger, is that right?

Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/Layout
>         at
> com.ericsson.mediation.core.bean.CoreLogger.log(CoreLogger.java:90)[265:
> MEDIATION-SI800-Core:1.0.0]


If so you'll need to add this Logger by adding it to the pax-loggin bundle.
It is the same as adding a custom appender to it. The description of it can
be found at [1]

regards, Achim

[1]  -
http://notizblog.nierbeck.de/2011/08/adding-custom-log-appender-to-pax-logging/




2014-06-25 15:52 GMT+02:00 loky <jflebesc...@gmail.com>:

> I have try to find a workaround with log4J, but nothing works, any idea ?
>
>
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/NoClassDefFoundError-org-apache-log4j-Layout-tp4033773p4033778.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>



-- 

Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
blog <http://notizblog.nierbeck.de/>

Software Architect / Project Manager / Scrum Master

Reply via email to