RE: MDC is not working with AsyncAppender

2002-01-16 Thread Heikki . Linnakangas
> From: Claudio Corsi [mailto:[EMAIL PROTECTED]] > > > From: Heikki.LinnakangasÉTietoenator.com > > > > MDC seems to work inproperly with AsyncAppender. > > > > I have a custom appender that reads some entries from the > MDC, and writes > > them to a database. If I use it with the AsyncAppend

RE: CODE: Watchdog, FileWatchdog, HTTPWatchdog

2002-01-16 Thread Mark Womack
I want to talk about something else that I think might be related to this eventually, but I have a couple of comments. >The argument about multiple input sources is unconvincing because >while a URL might be insufficient an InputStream is not either. I can write my own custom InputStream whose i

Re: The penny drops - JBoss Repository Selector

2002-01-16 Thread Ceki Gülcü
Hi Adrian, At 14:04 16.01.2002 +, Adrian Brock wrote: >Hi Ceki, > >Firstly, sorry for posting to log4j-user instead of jboss-user >I spotted my mistake just as I hit send :-( > >Re: WeakHashMap >It doesn't make any difference if I do an explicit remove, >it will remain on the heap until the g

Re: MDC is not working with AsyncAppender

2002-01-16 Thread Claudio Corsi
> From: [EMAIL PROTECTED] > > MDC seems to work inproperly with AsyncAppender. > > I have a custom appender that reads some entries from the MDC, and writes > them to a database. If I use it with the AsyncAppender, the MDC information > is sometimes wrong. > > The problems seems to be that Logg

MDC is not working with AsyncAppender

2002-01-16 Thread Heikki . Linnakangas
MDC seems to work inproperly with AsyncAppender. I have a custom appender that reads some entries from the MDC, and writes them to a database. If I use it with the AsyncAppender, the MDC information is sometimes wrong. The problems seems to be that LoggingEvent.getMDCCopy() doesn't actully creat

Re: The penny drops - JBoss Repository Selector

2002-01-16 Thread Adrian Brock
Hi Ceki, Firstly, sorry for posting to log4j-user instead of jboss-user I spotted my mistake just as I hit send :-( Re: WeakHashMap It doesn't make any difference if I do an explicit remove, it will remain on the heap until the garbage collector figures out it is unused. It might speed up the g

RE: CODE: Watchdog, FileWatchdog, HTTPWatchdog

2002-01-16 Thread Ceki Gulcu
>>How about assuming that Watchdog watches URLs, not Files, just >>URLs. HTTPWatchdog makes that assumption, why not have FileWatchdog >>make it as well? You can always convert a file:// type URL to a >>java.io.File. Moreover, the openStream method of java.net.URL can be >>used to convert a URL to