Re: Logging separation

2002-06-27 Thread costinm
On Thu, 27 Jun 2002, Ceki Gülcü wrote: > >I don't know any other way to pass/extract the information. > > If there is an object that keeps track of contexts, you can pass it to > the ContextualRepositorySelector when you instantiate it (the > CRS). The CRS could ask that object to return "the cu

Re: Logging separation

2002-06-27 Thread Ceki Gülcü
At 07:33 27.06.2002 -0700, [EMAIL PROTECTED] wrote: >On Thu, 27 Jun 2002, Ceki Gülcü wrote: > > > Let me just mention that using the TCL to keep track of the context is > > just one possible solution. Is there another place that keeps track of > > what thread is executing what web-application? Rem

Re: Logging separation

2002-06-27 Thread costinm
On Thu, 27 Jun 2002, Ceki Gülcü wrote: > Let me just mention that using the TCL to keep track of the context is > just one possible solution. Is there another place that keeps track of > what thread is executing what web-application? Remember that the > ContextRepositorySelector is implemented wi

Re: Logging separation

2002-06-27 Thread Ceki Gülcü
At 07:03 27.06.2002 -0700, [EMAIL PROTECTED] wrote: > > As an aside, setting the logger in the static init method is almost always > > wrong for a servlet. If the class is living in a jar in lib/apps, then > only > > one logger gets created even if the servlet is used in several webapps. > >+1 >

Re: Logging separation

2002-06-27 Thread costinm
"Ceki Gülcü" <[EMAIL PROTECTED]> > > > To: "Tomcat Developers List" <[EMAIL PROTECTED]> > > > Sent: Wednesday, June 26, 2002 2:57 PM > > > Subject: Re: Logging separation > > > > > > > > > > > > A diff

Re: Logging separation

2002-06-27 Thread Ceki Gülcü
At 15:46 26.06.2002 -0700, Bill Barker wrote: >As an aside, setting the logger in the static init method is almost always >wrong for a servlet. If the class is living in a jar in lib/apps, then only >one logger gets created even if the servlet is used in several webapps. This is an important ob

Re: Logging separation

2002-06-27 Thread Ceki Gülcü
At 15:15 26.06.2002 -0700, [EMAIL PROTECTED] wrote: >On Wed, 26 Jun 2002, Ceki Gülcü wrote: > > > > A difficulty I encountered while implementing the solution outlined in > > http://qos.ch/containers/sc.html is the difference of TCL while the the > > static class initializer of a servlet class is

Re: Logging separation

2002-06-26 Thread Bill Barker
- Original Message - From: <[EMAIL PROTECTED]> To: "Tomcat Developers List" <[EMAIL PROTECTED]> Sent: Wednesday, June 26, 2002 3:33 PM Subject: Re: Logging separation > On Wed, 26 Jun 2002, Bill Barker wrote: > > > This is basically the same as >

RE: Logging separation

2002-06-26 Thread Ignacio J. Ortega
> De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Enviado el: 27 de junio de 2002 0:33 > > any container-sensitive operations. > > Do you think we should set the TCL before calling contextInit or in > ServetHandler.getServlet() ? Just reviewed that code, +1 for this change.. Ceki is talkin

Re: Logging separation

2002-06-26 Thread costinm
lt;[EMAIL PROTECTED]> > Sent: Wednesday, June 26, 2002 2:57 PM > Subject: Re: Logging separation > > > > A difficulty I encountered while implementing the solution outlined in > http://qos.ch/containers/sc.html is the difference of TCL while the the > static class initi

Re: Logging separation

2002-06-26 Thread Bill Barker
essage - From: "Ceki Gülcü" <[EMAIL PROTECTED]> To: "Tomcat Developers List" <[EMAIL PROTECTED]> Sent: Wednesday, June 26, 2002 2:57 PM Subject: Re: Logging separation A difficulty I encountered while implementing the solution outlined in http://qos.ch/containers/

Re: Logging separation

2002-06-26 Thread costinm
On Wed, 26 Jun 2002, Ceki Gülcü wrote: > A difficulty I encountered while implementing the solution outlined in > http://qos.ch/containers/sc.html is the difference of TCL while the the > static class initializer of a servlet class is executed and the TCL while a > servlet is running. There

Re: Logging separation

2002-06-26 Thread Ceki Gülcü
A difficulty I encountered while implementing the solution outlined in http://qos.ch/containers/sc.html is the difference of TCL while the the static class initializer of a servlet class is executed and the TCL while a servlet is running. There are two distinct TCLs. (I've tried this on Tomcat

Logging separation

2002-06-26 Thread Ceki Gülcü
Hello, I have written a short spec on how to achieve separation of logging between different web-applications in a Sevlet Container. It is available at: http://qos.ch/containers/sc.html I would appreciate receiving comments. Thank you, -- Ceki -- To unsubscribe, e-mail: