At 15:51 21.04.2001 -0700, you wrote:
>On Sat, 21 Apr 2001, Ceki [iso-8859-1] Gülcü wrote:
>
>>
>> Hello,
>>
>> I am toying with the idea of migrating catalina logging to log4j. Let
>> me begin by saying that I am far from being familiar with catalina
>> internals but I am getting there slowly
At 16:37 21.04.2001 -0700, you wrote:
>On Sat, 21 Apr 2001, Scott Sanders wrote:
>
>> What he meant was:
>>
>>if(log.isDebugEnabled())
>> log.debug("Processing " + errorPage);
>>
>> ;-)
>
>I can certainly see that, but it sure blows the "shorter code" advantage
>that was touted :-).
On Sat, 21 Apr 2001, Glenn Nielsen wrote:
> Ceki Gülcü wrote:
>
>> One important point to remember is that each
>> webapp classloader could load a fresh copy of log4j so that each
>> webapp has its own logging universe. >
>
> This would significantly increase the memory footprint required for
On Sat, 21 Apr 2001, Scott Sanders wrote:
> What he meant was:
>
>if(log.isDebugEnabled())
> log.debug("Processing " + errorPage);
>
> ;-)
I can certainly see that, but it sure blows the "shorter code" advantage
that was touted :-). It also seems a little redundant -- if I want to
At 17:45 21.04.2001 -0700, you wrote:
>My two cents as a Log4J User.
>
>I use Log4J in my servlets and I think it great. Logging has never been so easy.
>One issue though, the Configurator class holds it data in a Static variable so
>two servlets inside the same JVM will each over write the others
>> - No more need to do
>>
>> if(debug > 1)
>> log("Some message");
>>
>> instead one would write
>>
>> log.debug("Some message");
>>
>> where log is an instance of org.apache.log4j.Category.
>>
>
>
> Although not evident in your example above, there is a potentially
> substantial p
Ceki Gülcü wrote:
>
>
> One important point to remember is that each webapp classloader could load a fresh
>copy of log4j so that each webapp has its own logging universe.
>
This would significantly increase the memory footprint required for logging in the JVM.
I would prefer that log4j be gl
>> One fairly simple way to integrate Log4J would be to write an
>> implementation of org.apache.catalina.Logger that uses it. This will
>> undoubtedly not suffice for a final solution, because it does not expose
>> all of the logging flexibility that Log4J provides. But it might serve as
>> a s
On Sat, 21 Apr 2001, Glenn Nielsen wrote:
> Ceki,
>
> This is welcome news!
>
> It isn't clear to me whether the standard servlet API logging methods
> could use log4j behind the scense to do logging. This would be very
> nice, especially if you could configure log4j logging for each scope
>
On Sat, 21 Apr 2001, Ceki [iso-8859-1] Gülcü wrote:
>
> Hello,
>
> I am toying with the idea of migrating catalina logging to log4j. Let
> me begin by saying that I am far from being familiar with catalina
> internals but I am getting there slowly.
>
> After a short initial study and some ex
"Craig R. McClanahan" wrote:
>
> On Sat, 21 Apr 2001, Glenn Nielsen wrote:
>
> > Ceki Gülcü wrote:
> >
> >> One important point to remember is that each
> >> webapp classloader could load a fresh copy of log4j so that each
> >> webapp has its own logging universe. >
> >
> > This would significan
At 20:02 21.04.2001 -0700, you wrote:
>Since I had so shamelessly copied Craig's Services model out of Catalina to use it in
>another project that never made it, I actually have some experience with this. I had
>really appreciated the logging in the Catalina framework, because it was always
>
At 21:40 21.04.2001 -0700, you wrote:
>On Sat, 21 Apr 2001, Glenn Nielsen wrote:
>
>> Ceki Gülcü wrote:
>>
>>> One important point to remember is that each
>>> webapp classloader could load a fresh copy of log4j so that each
>>> webapp has its own logging universe. >
>>
>> This would significa
My two cents as a Log4J User.
I use Log4J in my servlets and I think it great. Logging has never been so easy.
One issue though, the Configurator class holds it data in a Static variable so
two servlets inside the same JVM will each over write the others config. Even
since I implemented Log4J I w
At 23:04 21.04.2001 -0500, you wrote:
>Ceki Gülcü wrote:
>>
>>
>> One important point to remember is that each webapp classloader could load a fresh
>copy of log4j so that each webapp has its own logging universe.
>>
>
>This would significantly increase the memory footprint required for loggin
Ceki,
This is welcome news!
It isn't clear to me whether the standard servlet API logging methods could use log4j
behind the scense to do logging. This would be very nice, especially if you could
configure log4j logging for each scope (Engine, Host, DefaultContext, Context) in
server.xml.
And e
Hello,
I am toying with the idea of migrating catalina logging to log4j. Let me begin by
saying that I am far from being familiar with catalina internals but I am getting
there slowly.
After a short initial study and some experimentation, here are some tentative
conclusions:
1) The way log
17 matches
Mail list logo