RE: Duplicate messages, help with log4j.properties

2003-03-07 Thread Ebersole, Steven
Just to clarify, I'm not sure how your properties file can be getting huge if you have only defined: log4j.rootLogger=DEBUG, daily log4j.appender.daily=org.apache.log4j.DailyRollingFileAppender Is it just getting huge because you added all the additivity flags? As for setting additivity

RE: Duplicate messages, help with log4j.properties

2003-03-07 Thread Wendy Smoak
As for setting additivity globally, you can specify additivity on the rootLogger (that additivity setting is then inherited by all loggers defined under it). I.E., log4j.rootLogger=DEBUG, daily log4j.additivity.rootLogger=false log4j.appender.daily=org.apache.log4j.DailyRollingFileAppender

RE: Duplicate messages, help with log4j.properties

2003-03-07 Thread Wendy Smoak
Are you actually using a different appender for each class in your application?!?!? No, it was the same appender. I'll have to spend more time reading the manual... my .properties file was pieced together from what I could figure out and examples I found. Thanks! -- Wendy Smoak Applications

Re: Error in renaming the file During DailyRollover option

2003-03-07 Thread Jean-Noel WALLEZ
Ceki , first thanks for your support ! I have try with log4j.debug=true but it doesn't work here is the output - everything seems ok, no? log4j:ERROR Failed to rename [../logs/conferences.log] to [../logs/conferences.log.2003-03-07-19-05]. log4j: setFile called: ../logs/conferences.log, false

RE: Error in renaming the file During DailyRollover option

2003-03-07 Thread Shapira, Yoav
Hi, Does the user runner the app or server or whatever you're running with log4j have directory write and execute permissions on the log file directory? Yoav Shapira Millennium ChemInformatics -Original Message- From: Jean-Noel WALLEZ [mailto:[EMAIL PROTECTED] Sent: Friday, March 07,

How manu files opened per appender?

2003-03-07 Thread Stevenson, David
We are investigating an open file leak in our web server, and I was asked to try to find out more about Apache Log4j. We are using tools like pfiles (prints open file descriptors for a process) and lsof (List Open Files) to learn how many files, the file types, and the names of the files open in

Re: How manu files opened per appender?

2003-03-07 Thread Ceki Gülcü
At any instance here is only one file per FileAppender (or subclass) regardless of the number of threads accessing the FileAppender. At 01:36 PM 3/7/2003 -0600, you wrote: We are investigating an open file leak in our web server, and I was asked to try to find out more about Apache Log4j. We are