users@glassfish.java.net

Instance name in Log Handler?

From: <glassfish_at_javadesktop.org>
Date: Mon, 20 Jul 2009 02:24:03 PDT

Hello,

is there a way to find out the instance name from a custom log handler?

We are thinking of implementing a very simplistic custom log handler to send all logs to a central place, but we need to mark each log message with the proper sender, so to speak - and instance name would be perfect for our use cases.

Is that information available anywhere from the implemented Handler?

Thanks!
[Message sent by forum member 'klunden' (klunden)]

http://forums.java.net/jive/thread.jspa?messageID=356520