XML Configuration

2002-09-12 Thread Mark R. Diggory
Another question: What is the difference between name and class in a category? ie ... -Mark -- To unsubscribe, e-mail: For additional commands, e-mail:

Format modifiers for right trunc in PatternLayout

2002-09-12 Thread RUTHERFURD, Michael
Are there any format modifiers in PatternLayout that allow a Conversion Character to be truncated on the right rather than the left. Essentially I want to be able to say maximum msg length is, say, 50 chars but I want to keep the first part of the message as it is likely to be more important. I h

Re: Documentation

2002-09-12 Thread Mark R. Diggory
Thanks all for your responses, this is all very helpful. -Mark Colin MacDonald wrote: >>-Original Message- >> >>Can someone please provide a source for some information on the >>Conversion Pattern Syntax. Mostly I just want to know what the different >>elements ("%F" and the like) are

Articles on log4j

2002-09-12 Thread Pomytkin, Sergey
One more http://sergeypomytkin.boom.ru/Log4j.doc Same idea as title "Don't Use System.out.println! Use Log4j " but with some comments "why?".

Clare Myers/OH/AICI/US is out of the office.

2002-09-12 Thread Clare . Myers
I will be out of the office starting 09/12/2002 and will not return until 09/17/2002. CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use

RE: Context Sensitive Logging in Servlets

2002-09-12 Thread Samya Ghosh
Hi, I agree and these are solutions that we may ultimately adopt, but the question thats gotten me is whether or not there is something that can be done to fix this ... and why this behaviour should occur only when the servlet is the calling class ? and not occur in case the calling class

Deferring internationalization of log messages to the handler

2002-09-12 Thread William.Settle
We have an several custom implementations of a resource bundler resolver that meets requirements for different customers. Basically is works like the ResourceBundle.getBundle(String baseName, Locale locale) except that our implementation takes two extra parameters that have to do with customer sp

RE: Context Sensitive Logging in Servlets

2002-09-12 Thread Richard Doust
How about using a text processor to filter the log output? How about writing log entries to a database (as well as to a flat file) and querying the database where thread id = ? With both of these solutions, there's no code to write. -Original Message- From: Samya Ghosh [mailto:[EMAIL PROT

Context Sensitive Logging in Servlets

2002-09-12 Thread Samya Ghosh
Hi, I have just started using Log4j and was experimenting with it. One of the things that looked interesting was the ability to log messages/thread, but the drawback was that the messages logged by different instances of a class running on different threads, end up being jumbled and the re

How to get threadName, locationInfo in LoggingEvent

2002-09-12 Thread Takumi Fujiwara
Hi, I implment my own Appender by extending AppenderSkelton. In the void append() method, my Appender receives logging event, but the theadName, locationInfo in the LoggingEvent is null. The message, loglevel looks okay. Could someone please tell me how to get that information if I implment my o

log4j 1.1.3 / log4j 1.2.6 compatibility issue ...

2002-09-12 Thread Chris Jobson
Hi Maybe I have missed something, but I seem to have a problem with moving to 1.2.6 log4j. I have code compiled against 1.1.3 that now fails when run with 1.2.6 in the classpath. This is an example of code that fails - it's quite small: import org.apache.log4j.*; public class Test { pub

RE: Documentation

2002-09-12 Thread Colin MacDonald
> -Original Message- > > Can someone please provide a source for some information on the > Conversion Pattern Syntax. Mostly I just want to know what the different > elements ("%F" and the like) are defined as? Do you mean for log formatting? Using PatternLayout? The PatternLayout Javad

RE: Documentation

2002-09-12 Thread FLYNN, Peter -Syntegra UK
Hi Mark, > Can someone please provide a source for some information on the > Conversion Pattern Syntax. Mostly I just want to know what > the different > elements ("%F" and the like) are defined as? There's some Java Documentation in http://jakarta.apache.org/log4j/docs/api/index.html The Pat

RE: Documentation

2002-09-12 Thread Samuel Cheung
Please check out the javadoc for the class org.apache.log4j.PatternLayout http://jakarta.apache.org/log4j/docs/api/index.html -Original Message- From: Mark R. Diggory [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 12, 2002 11:08 AM To: [EMAIL PROTECTED] Subject: Documentation Hel

Documentation

2002-09-12 Thread Mark R. Diggory
Hello, Can someone please provide a source for some information on the Conversion Pattern Syntax. Mostly I just want to know what the different elements ("%F" and the like) are defined as? I also would like to know the basic configuration attributes available for the standard appenders provi

Clare Myers/OH/AICI/US is out of the office.

2002-09-12 Thread Clare . Myers
I will be out of the office starting 09/12/2002 and will not return until 09/17/2002. CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use

Re: Problems with Xalan/Xerces using Log4J 1.2.3 with WebSphere 4.01

2002-09-12 Thread M . Langenbahn
The problem is solved and there doesn't seem to be any dependency between Log4J and Xalan/Xerces, no matter where you put the libraries in WebSphere. It's like always, if you exclude the impossible, what remains must be the truth, no matter how strange it seems. In this case it wasn't even very

Re: AsyncAppender

2002-09-12 Thread Ceki Gülcü
The AsyncAppender does not wait for the buffer to be full but why should that be labeled as a problem? At 11:44 12.09.2002 +0200, you wrote: >Hello, > >I'm having problems when using an AsyncAppender, it doesn't seem to wait >for the buffer to be full, but writes the logs one by one. >My progra

AsyncAppender

2002-09-12 Thread Jose Luis Anta
Hello, I'm having problems when using an AsyncAppender, it doesn't seem to wait for the buffer to be full, but writes the logs one by one. My program writes one line of log each second, and I can see how they are written to the output file one by one. My xml configuration file seems like this:

Clare Myers/OH/AICI/US is out of the office.

2002-09-12 Thread Clare . Myers
I will be out of the office starting 09/12/2002 and will not return until 09/17/2002. CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use