|
Re: Questions about Code.debug(), Log.event(): msg#00141java.jetty.support
The simplest thing to do if you want different logging setup is to instantiate each jetty in it's own classloader - that way the statics are not shared. I have considered moving to log4j - but that would not help you here either. cheers swtet wrote:> 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 > > > > 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/ > -- Greg Wilkins<gregw@xxxxxxxxxxx> Phone/fax: +44 7092063462 Mort Bay Consulting Australia and UK. http://www.mortbay.com ------------------------ 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> |
|---|---|---|
| Previous by Date: | Re: bug in default configuration, Greg Wilkins |
|---|---|
| Next by Date: | Re: How find Ip Address of clients who r currentlt logged in, Greg Wilkins |
| Previous by Thread: | Questions about Code.debug(), Log.event(), swtet <tony.thompson@xxxxxxxxxxxxxx> |
| Next by Thread: | Re: Questions about Code.debug(), Log.event(), Evan Koffler <evanlist1@xxxxxxxxxxxxxx> |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |