http://karaf.apache.org/manual/latest/users-guide/log.html
latest section: "Custom appenders".
Regards
JB
On 06/25/2014 03:57 PM, Achim Nierbeck wrote:
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 <[email protected]
<mailto:[email protected]>>:
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
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com