Depends on if you have an appender that can do so. If you have such an appender, make sure to attach it to pax-logging. One known to work solution is to have a fragment bundle which attaches to the pax-logging service bundle (if it's a log4j 1.x bundle)
regards, Achim 2016-02-29 6:46 GMT+01:00 D <[email protected]>: > Is there a way we can make karaf log in JSON format? > > > > -- > View this message in context: > http://karaf.922171.n3.nabble.com/Karaf-logging-in-JSON-format-tp4045607.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/> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS> Software Architect / Project Manager / Scrum Master
