logo       

Questions about Code.debug(), Log.event(): msg#00121

java.jetty.support

Subject: Questions about Code.debug(), Log.event()

Any information that is displayed by Jetty seems to go through the
Log class (maybe I am not 100% correct on that), even the Code.xxx()
methods. There seems to be a way to redirect the output by setting a
LogSink in Log like this:

Log.getInstance().add( myLogSink );

If I have more than one instance of Jetty running in the JVM, am I
correct in assuming that the messages for both instances would go to
the same log sink? I really need to have messages from each instance
of Jetty go to separate log sinks so, if there is another way to do
this...I am open to suggestions.

Has any thought ever been given to using something like LogKit to
display this information instead of the current method?

Thanks.
Tony


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/CBxunD/vN2EAA/xGHJAA/CefplB/TM
---------------------------------------------------------------------~->

For the latest information about Jetty, please see http://jetty.mortbay.org



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise