RE: Different client's log file?

2006-08-11 Thread Levy, Jeremy
vent. http://stauffer.james.googlepages.com/DateFormatFileAppender.java On 8/11/06, Levy, Jeremy <[EMAIL PROTECTED]> wrote: > In my application, we have the consumer pass in the name of the application > that is using our service. > > So we generally only have about 4,5 consumers. This is

RE: Different client's log file?

2006-08-11 Thread Levy, Jeremy
In my application, we have the consumer pass in the name of the application that is using our service. So we generally only have about 4,5 consumers. This is small enough that we can manually add them to the properties file. However, as our utility grows I don't want to have to maintain or

Separate appenders based on MDC value

2006-08-09 Thread Levy, Jeremy
I believe this functionality is available in 1.3 can someone point me to an example? j Important Notice to Recipients: It is important that you do not use e-mail to request, authorize or effect the purchase or sale of any security

Different Appenders / Layouts based on MDC/NDC or SystemProperty?

2006-07-25 Thread Levy, Jeremy
Can someone tell me how I can using different layouts and appenders depending on a MDC value or SystemProperty? Thanks. J Important Notice to Recipients: It is important that you do not use e-mail to request, authorize or effect the

RE: Programmatically change properties of an appender

2006-07-24 Thread Levy, Jeremy
21, 2006 3:55 PM To: Log4J Users List Subject: Re: Programmatically change properties of an appender I am 90% sure the answer it yes but I don't know exactly which methods you need to call to get the appender. On 7/21/06, Levy, Jeremy <[EMAIL PROTECTED]> wrote: > I would like to chan

Programmatically change properties of an appender

2006-07-21 Thread Levy, Jeremy
I would like to change the subject and the from address of a smtpappender programmatically that is initially configured via a properties file, is this possible? j Important Notice to Recipients: It is important that you do not use e-m

RE: MaxBackupIndex does not work

2006-06-22 Thread Levy, Jeremy
I've had a similar problem... It seems like maxBackupIndex doesn't like any #'s greater then 5 in some circumstances. Try increasing your log size and decreasing the # of indexes. See http://marc.theaimsgroup.com/?l=log4j-user&m=106321621416549&w=2 for more information. Jeremy -Original

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 roll

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

Default initialization in an application server

2006-05-26 Thread Levy, Jeremy
When using default initialization (not calling property configure or anything) in an application server, and letting log4j find a log4j.properties in the classpath when there are multiple log4j.properies in the classpath, is there a way to see which log4j.properties is being used to initialize? I'