From: Eric B. R. <eb...@tc...> - 2003-04-02 21:50:02
|
On Wednesday, April 2, 2003, at 04:42 PM, kea...@na...=20= wrote: > My issue wasn't related to Servlets, I was running a non-Servlet app.=A0= =20 > And I suspect the bug has been around for a long time.=A0 I tried to=20= > unravel the logging subsystem, but I got pretty confused and then got=20= > side-tracked.=A0 Since I had a workaround, I forgot all about it.=A0 Hell, should we just rip out our log stuff and replace it with Log4J? =20= I bet this would make a lot of folks happy... I've never used Log4J=20 but have heard it's just great and have considered using it here at=20 TCDI... I wouldn't mind hooking it into WebMacro first, mainly to find=20= out if it sucks or not. > I can create a test case if anybody wants to take a look at this. sure. I'll be glad to investigate if you'll make a test. eric > > 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? > > > > > > On Wednesday, April 2, 2003, at 03:37=A0 PM, > > kea...@na... > > wrote: > > > > > I've seen a similar bug (which I never got around to reporting) in > > > non-servlet mode.=A0 The problem for me was that if you > > destroy and then > > > restart the WM instance in the same VM session, the old log = targets > > > are still around, so things get logged multiple times. > > > > hmm.=A0 That's interesting.=A0 Why is that?=A0 Doesn't tomcat dump = the > > classloader when the webapp is restarted? > > > > The only changes to logging recently were the ones where I > > changed all > > the output methods to accept Throwables instead of > > Exceptions.=A0 I doubt > > this could cause Marc's problem, but thought I'd mention it. > > > > eric > > > > > > > > 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... > > 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 > > > > > |