Re: log4j multithreading performance

2005-12-02 Thread Chris Berry
We have recently had some nasty problems w/ log4j synchronization. This was laid out in a recent post to this list; "threading issue with log4j" on Nov 23, 2005 It is a problem w/ the 1.2.X code base, which synchronizes within the callAppenders method of Category. This is a fundamental class of lo

Re: threading issue with log4j

2005-11-23 Thread Chris Berry
SyslogAppender On 11/23/05, Paul Smith <[EMAIL PROTECTED]> wrote: > > Question: Which appender did you "add" when it decided to slow > things down? The file appender or the Syslog appender? > > On 23/11/2005, at 4:56 PM, Chris Berry wrote: > > > I see

Re: threading issue with log4j

2005-11-22 Thread Chris Berry
up for us before. We never saw it until we added another Appender?? But reading the code that doesn't appear to have anything really to do with it?? It seems that because we have a base Category (i.e "com" in com.mycompany) all of the logging is sync-ing on the same object. Thanks, --

threading issue with log4j

2005-11-22 Thread Chris Berry
Greetings, We have a serious problem w/ log4j inside Tomcat. This has shown up because we are recently logging to 2 Appenders from a single Category (a FileAppender and a SyslogAppender), where before it was only 1. Under heavy load, we are seeing all of the threads backing up behind the synchroniz

Configuring log4j hierarchially, on-the-fly

2005-09-15 Thread Chris Berry
I apologize if I have posed this twice. I do not see my post in teh archives, nor did I recieve a copy (although that could be a gmail thing) Greetings, I'm pretty certain that I know that answer to my question before I ask (It's not possible ;-) -- but I'll ask anyway, just in case I'm missing so