Re: Dynamic log names

2006-06-15 Thread oops shin
Hi. James Stauffer.. Did you test your appender make new file after midnight? First that made new logfile with exact name. but I found DateFormatFileAppender didn't rolling log file... Maybe that's my fault but how about check again? 2006/6/15, James Stauffer <[EMAIL PROTECTED]>: I have a

Re: smtpappender not working in jboss

2006-06-15 Thread Jacob Kjome
How about a link to the repository selector in the JBoss Wiki? Also, can we assume that you are using the logger "mycategoryname" to do the ERROR and FATAL logging? Does all other log appending work properly with the repository selector? Jake At 01:20 PM 6/15/2006, you wrote: >I have conf

Re: poblem with multiple application configurations

2006-06-15 Thread Jacob Kjome
At 03:26 AM 6/15/2006, you wrote: > >For each application, the log4j.xml and the log4j.jar are located in the >WEB-INF/lib directory. >But I still don't understand why I log instructions are always written in Well, you don't want to put log4j.xml in WEB-INF/lib. You need to put it in WEB-INF/

smtpappender not working in jboss

2006-06-15 Thread Chris Cheshire
I have configured log4j to write app logs using the RepositorySelector found in the JBoss Wiki, and it is working just fine. I have tried to add an email appender to the configuration to email me the error & fatal messages and they are not getting sent. The log file contains the errors, but no ema

Could not close org.apache.log4j.helpers.CountingQuietWriter

2006-06-15 Thread Rohnny Moland
Hi, I am struggling with this exception that comes about 10 seconds after I have started my application: log4j:ERROR Could not close [EMAIL PROTECTED] java.io.IOException: Bad file descriptor at java.io.FileOutputStream.close0(Native Method) at java.io.FileOutputStream.close(File

Re: Dynamic log names

2006-06-15 Thread James Stauffer
I have also written a new appender that is even more configurable. The date can be in any part of the file. http://stauffer.james.googlepages.com/DateFormatFileAppender.java On 6/15/06, Darren Hall <[EMAIL PROTECTED]> wrote: I've answered my own question. For those interested - The Log4j docume

Re: poblem with multiple application configurations

2006-06-15 Thread James Stauffer
Then I would run with -Dlog4j.debug so you can see how it is being configured. On 6/15/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: For each application, the log4j.xml and the log4j.jar are located in the WEB-INF/lib directory. But I still don't understand why I log instructions are always

RE: Dynamic log names

2006-06-15 Thread Darren Hall
I've answered my own question. For those interested - The Log4j documentation doesn't appear to say anything about handling dynamic log names as I've described. The closest thing seems to be the DailyRollingAppender - however it appends the date after the '.log' (i.e. "error.log.06-15-2006"). I w

RE: Dynamic log names

2006-06-15 Thread Darren Hall
DailyRollingAppender is the option I was thinking about... However, how do I specify a date in the name of my file? Thanks, Darren -Original Message- From: James Stauffer [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 14, 2006 10:09 PM To: Log4J Users List Subject: Re: Dynamic log na

Re: poblem with multiple application configurations

2006-06-15 Thread meissa . sakho
For each application, the log4j.xml and the log4j.jar are located in the WEB-INF/lib directory. But I still don't understand why I log instructions are always written in the same file. meissa "James Stauffer" <[EMAIL PROTECTED]> 14/06/2006 19:59 Veuillez répondre à "Log4J Users List" A "Log

RE: Encryption of log

2006-06-15 Thread Jan-Olof Sivtoft
Hi, Curt Thanks for the tip about RollingPolicy. Ive been looking into (TimeBased)RollingPolicy class, but I can't figure out how I should be able to extend this class in order to be able to create and set the (Cipher)OutputStream from the RollingPolicy class. In FileAppender the writer is creat

RE: [SPAM (Bayesain Analysis)] - Re: Encryption of log - Bayesian Filter detected spam

2006-06-15 Thread Bender Heri
its a typo an should spell CipherOutputStream. It is used in framework java crypto extension (javax.crypto) > -Original Message- > From: xhu1 [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 14, 2006 7:24 PM > To: Log4J Users List > Subject: [SPAM (Bayesain Analysis)] - Re: Encryption of