Re: Concatenate DailyRollingFileAppender and SMTPAppender

2009-12-04 Thread Curt Arnold
The RollingFileAppender framework in the extras companion (http://logging.apache.org/log4j/companions/extras/index.html) would be a better starting point. Much more designed for extensibility than DailyRollingFileAppender but offers the same features when properly configured. You should be ab

Fwd: Concatenate DailyRollingFileAppender and SMTPAppender

2009-12-04 Thread JOSE L MARTINEZ-AVIAL
Hello, Does anyone know if it's possible to "concatenate" two appenders? I have setup a DRFA that rollovers at midnight, and I'd like it to send the file it generates by mail to a certain mail address. I know I can modify the DRFA to do that, but I wonder if such behaviour is already contemplat

RE: Using MDC on an application server with thread pools

2009-12-04 Thread Yogesh Rao
Hi, Servers never guarantees that thread allocated to a request from client would be given the same thread on subsequent requests from the client. Hence its advisable to clear out the mdc info before the request ends(preferable)or in case you wouldn't like to clean up then make sure you overwri

Using MDC on an application server with thread pools

2009-12-04 Thread Renan Vinícius Mozone
On my web application (it uses JSP pages) I'm using the MDC to put the the sessionid on the log records, but i'm facing a problem. The application server is IBM WebSphere 6.1 and it uses thread pools. So, sometimes, the thread for some sessions is changed (the pool allocate another thread to co