After investigation Karaf 3 uses Pax Logging 1.7.0 which uses Log4J 1.2.16. I checked Log4J 1.2.16 and it includes Layout.
I don’t know how Pax Logging works, but there is no Layout in the org.apache.log4j package. Is it the problem – how to fix? Regards, JP Regards, Jean-Philippe [@@ OPEN @@] De : [email protected] [mailto:[email protected]] Envoyé : mardi 17 septembre 2013 10:23 À : [email protected]; [email protected] Objet : Re: org.apache.log4j.Layout missing Let me check if it's not in pax logging service. Regards JB -- Jean-Baptiste Onofré [email protected]<mailto:[email protected]> http://blog.nanthrax.net Talend - http://www.talend.com ----- Reply message ----- From: "CLEMENT Jean-Philippe" <[email protected]<mailto:[email protected]>> To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: org.apache.log4j.Layout missing Date: Tue, Sep 17, 2013 9:02 am Dear Karaf experts, The Log4J Layout class seems not to be available: Caused by: java.lang.ClassNotFoundException: org.apache.log4j.Layout not found by org.ops4j.pax.logging.pax-logging-api [24] ... I there a way to update the Log4J api, keeping the PAX Logging compatibility? Regards, Jean-Philippe Clément [@@ OPEN @@]
