Re: logging to a file in a rotating directory

2006-06-19 Thread Curt Arnold
On Jun 19, 2006, at 5:41 PM, James Stauffer wrote: The file should do it for you: http://stauffer.james.googlepages.com/DateFormatFileAppender.java Would you consider donating this for inclusion in the log4j sandbox? If so, could you log a bug at http://issues.apache.org/bugzilla and a

Re: logging to a file in a rotating directory

2006-06-19 Thread James Stauffer
The file should do it for you: http://stauffer.james.googlepages.com/DateFormatFileAppender.java On 6/19/06, Chris Cheshire <[EMAIL PROTECTED]> wrote: I want to to change my apps (command line, not web driven) over to use log4j, instead of my current custom solution. Each app has its own log dir

logging to a file in a rotating directory

2006-06-19 Thread Chris Cheshire
I want to to change my apps (command line, not web driven) over to use log4j, instead of my current custom solution. Each app has its own log directory "logs//MM/DD" where the logs (myapp.log) and other generated files are written. The daily rolling appender isn't really what I want, as I don

RE: RollingFileAppender not rolling over

2006-06-19 Thread Levy, Jeremy
Looks like this is an issue: http://marc.theaimsgroup.com/?l=log4j-user&m=106321621416549&w=2 Giving that a shot and seeing what happens... -Original Message- From: Levy, Jeremy Sent: Monday, June 19, 2006 2:08 PM To: Log4J Users List Subject: RollingFileAppender not rolling over Belo

RollingFileAppender not rolling over

2006-06-19 Thread Levy, Jeremy
Below is an excerpt from my log4j.properties file. As I understood it, if I used the RollingFileAppender, when the log file reached the MaxFileSize the log would be renamed with a .1 appended to the end. Only MaxBackupIndex # of copies would be kept. What I am noticing is that when the MaxFile

Re: Problem of Threads

2006-06-19 Thread James Stauffer
If your one browser makes 2 requests the application server may choose to service each request with a different thread from its thread pool. On 6/19/06, Smita Kharkar <[EMAIL PROTECTED]> wrote: Hello All, I have log4j in my application set to use org.apache.log4j.RollingFileAppender. For one

Re: Specifying my appender in property file

2006-06-19 Thread James Stauffer
The full name of the class that you created. On 7/20/06, Kailash KN <[EMAIL PROTECTED]> wrote: Hi, I have written my own Appender extending RollingFileAppender, how do i specify log4j to use my appender instead of log4j's RollingFileAppender??? This change has to be done in the property file.

Problem of Threads

2006-06-19 Thread Smita Kharkar
Hello All, I have log4j in my application set to use org.apache.log4j.RollingFileAppender. For one of the bugs I was analysing the log and I found that Log was getting printed from two threads. I am not aware of who creates two threads and how they are managed. But because the log is coming

Specifying my appender in property file

2006-06-19 Thread Kailash KN
Hi, I have written my own Appender extending RollingFileAppender, how do i specify log4j to use my appender instead of log4j's RollingFileAppender??? This change has to be done in the property file. Here goes an excerpt of my log4j.properties file - log4j.debug=true log4j.logger.debugLogg=DEBUG,