You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Richard Hierlmeier <rh...@googlemail.com> on 2014/12/08 16:47:14 UTC
Integration of 3rd party logging Framework
Hi karaf experts,
I have to port a jar with an homemade logging framework into a bundle.
I wrote an bridge that converts the "homemade" log record to slf4j. It
works fine, despite the fact that the source location in the log output
is not correct.
slf4j reconstructs the source location of the log record from the
stacktrace of the caller. This homemode logging frameworks logs
ansynchronously. The caller stack is hence not correct. However I can
get class, method and line of the log from the "homemade" log record.
Is it possible to pass this information into any of log frameworks that
karaf supports?
Richard