
11 Nov
2008
11 Nov
'08
9:03 a.m.
Hi, I want to append automatically an additional log value for every log message which is created. Reason is that I want to add a OSGi symbolic bundle name to every message. I've seen a blog entry which solved it with a marker, but I think it's error prone because you have to add the marker yourself for every log call. Any idea how to do this? Is it possible to set a listener for logged messages which can modify the log message? Cheers, Ingo