Rolling file appender does not roll for file sizes larger than a couple of kB

2005-10-13 Thread Anders Rillbert
Hi, I'm facing a problem using the RollingFileAppender. If I set the max file size to 20KB, the log rolls over as expected but if I change the size to 200KB, it does not. Instead it overwrites the first logfile. Here's the successful case: --- Log4j.properties: ### direct messages to file nclog ##

Re: log4j xml configuration problem -- should be easy

2005-10-13 Thread David Durham
On 10/13/05, Bender Heri <[EMAIL PROTECTED]> wrote: > Hi > > you must define the appenders before the loggers within the config file. See > the dtd file. Yeah, ok, I originally had the appenders first, and reworked it a bit so that it would post properly, of course I am testing the version that I

RE: log4j xml configuration problem -- should be easy

2005-10-13 Thread Bender Heri
Hi you must define the appenders before the loggers within the config file. See the dtd file. Heri > -Original Message- > From: David Durham [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 13, 2005 3:06 PM > To: log4j-user@logging.apache.org > Subject: log4j xml configuration proble

log4j xml configuration problem -- should be easy

2005-10-13 Thread David Durham
I've tried using the following config with log4j-1.2.12.jar and commons-logging 1.0.4 and commons-logging 1.0.5. The only logger that I can get anything out of is the root logger. Configuration below, usage will follow: (Also, apologies for the formatting; eclipse still does not have tab replace

Re: Log4j performance considerations

2005-10-13 Thread Russell
firas mualla yahoo.com> writes: > > I have a large J2EE web application . From > performance(speed & memory space) point of view > what is the best scenario to use ? > 1)Use one logger for each class ( this is a common > practice but > doon't you think that it is heap-consu