FW: Single E-mail Alert from Multithreaded Application

2009-05-12 Thread Jessie Yeung
Hi all, I am writing to ask for the solution to consolidate all logging event from all threads (managed by Java 5 threadPoolExecutor) into one e-mail alert, which will be sent in 15-minute time interval. I've finished the batch e-mail submission part (By implementing my own EvaluatorClass a

RE: Re: Alternative naming convention for renaming files using RollingFileAppender

2009-05-12 Thread simon_park_m...@yahoo.co.uk
Hi Sarat, The TimeAndSizeRollingAppender, available for free from www.simonsite.org.uk, is a custom appender I put together to roll files by both time and by size. It adds the roll time into the backup filename and adds an index if more than one backup file is produced during the logging perio

Re: Alternative naming convention for renaming files using RollingFileAppender

2009-05-12 Thread sarat kumar
Hi Mr.Curt Arnold, Thanks very much for your suggestion. I found that class perfectly fits my bill. Thanks again for the prompt response. Thanks and Regards, Sarat Kumar Beesa. On Tue, May 12, 2009 at 6:25 PM, Curt Arnold wrote: > I believe the org.apache.log4j.rolling.RollingFileAppender in

Re: DailyRollingFileAppender, but no new file the next day - why?

2009-05-12 Thread Curt Arnold
On May 12, 2009, at 12:31 AM, Linnemann, Gerrit wrote: Hallo, I'm using the DailyRollingFileAppender. The Tomcat runs 24/7. But I've to restart Tomcat to get a new log file. It seams that log4j only log until midnight. So I lost information. Here is my configuration: class="org.apache.

Re: Alternative naming convention for renaming files using RollingFileAppender

2009-05-12 Thread Curt Arnold
I believe the org.apache.log4j.rolling.RollingFileAppender in the extras companion has that ability. The org.apache.log4j.rolling.RFA are the backported RFAs from the abandoned log4j 1.3 line. On May 12, 2009, at 7:13 AM, sarat kumar wrote: Hi all, I have a question on the renaming strat

Re: Alternative naming convention for renaming files using RollingFileAppender

2009-05-12 Thread Guy
Hi Sarat, You could always write the custom Appender yourself. I did because I needed to be able to rollover and zip the rollover file to limit disk space occupied (and some other custom behavior). If you like I could post code, but first I have to figure out how I did it myself :-) kind regards

Alternative naming convention for renaming files using RollingFileAppender

2009-05-12 Thread sarat kumar
Hi all, I have a question on the renaming strategy followed in the RollingFileAppender in log4j. The current logic works by rolling over the current file by appending the index count at the end. I was wondering if there's a custom appender available which can allow me to customize the renaming str

Alternative naming convention for RollingFileAppender

2009-05-12 Thread sarat kumar
Hi all, I have a question on the renaming strategy followed in the RollingFileAppender in log4j. The current logic works by rolling over the current file by appending the index count at the end. I was wondering if there's a custom appender available which can allow me to customize the renaming str