From: <kea...@na...> - 2003-04-02 21:42:14
|
My issue wasn't related to Servlets, I was running a non-Servlet app. = And I suspect the bug has been around for a long time. I tried to unravel = the logging subsystem, but I got pretty confused and then got side-tracked. Since I had a workaround, I forgot all about it. =20 I can create a test case if anybody wants to take a look at this. Keats > -----Original Message----- > From: Eric B. Ridge [mailto:eb...@tc...] > Sent: Wednesday, April 02, 2003 4:35 PM > To: kea...@na... > Cc: ma...@an...; web...@li... > Subject: Re: [Webmacro-devel] Double-logging in Tomcat? >=20 >=20 > On Wednesday, April 2, 2003, at 03:37 PM,=20 > kea...@na...=20 > wrote: >=20 > > I've seen a similar bug (which I never got around to reporting) in=20 > > non-servlet mode.=A0 The problem for me was that if you=20 > destroy and then=20 > > restart the WM instance in the same VM session, the old log targets = > > are still around, so things get logged multiple times. >=20 > hmm. That's interesting. Why is that? Doesn't tomcat dump the=20 > classloader when the webapp is restarted? >=20 > The only changes to logging recently were the ones where I=20 > changed all=20 > the output methods to accept Throwables instead of=20 > Exceptions. I doubt=20 > this could cause Marc's problem, but thought I'd mention it. >=20 > eric >=20 > > > > Could this be your issue? > > > > Keats > > > > > -----Original Message----- > > > From: Marc Palmer [mailto:ma...@an...] > > > Sent: Wednesday, April 02, 2003 2:40 PM > > > To: web...@li... > > > Subject: [Webmacro-devel] Double-logging in Tomcat? > > > > > > > > > > > > Guys... anyone else seen this? I don't -think-it's me...=20 > but WM under > > > Tomcat 4 on Win32, every WM log call is creating two > > > duplicate entries in > > > the webapp's log. Is it a config issue? > > > > > > Cheers > > > -- > > > Marc Palmer > > > |