Hello, community. I use logback in OSGI environemnt. But actually the question 
is not only OSGI related.

So, I have a JAR / Bundle with my subprogram. The bundle runs in an OSGI 
framework together with other bundles. What I want is that all logs of my 
bundle are marked with the bundle name, so that it becomes easier to read the 
log file afterwards. Consider that other bundle also log into the same file. 
Logback provides the ability to log class names of the callers, but that is not 
what I want. I got lots of classes in my application, but I want to see whether 
the log was generated by my bundle or not at first.

What would be the best way to accomplish that? Is it possible anyway?


BR
Ewgenij
_______________________________________________
Logback-user mailing list
[email protected]
http://mailman.qos.ch/mailman/listinfo/logback-user

Reply via email to