RE: How to truncate characters in the layout of priority

2003-02-03 Thread Abramson, Rami
thank you but, it doesn't work because it truncates the beginning. For example, 'debug' and 'info' lines would look like this: BUG This is a test of DEBUG... NFO This is a test of INFO... How is it possible to do it? thank you, Rami -Original Message- From: Ebersole, S

chainsaw not reading XMLLayout log file

2003-02-03 Thread Beleznay, Dave
When I try to load up the following logfile with chainsaw I keep getting null pointer exceptions.. The exception is as follows: E:\development\jakarta-log4j-1.2.7\dist\lib>java -cp log4j-1.2.7.jar;..\..\..\xe rces-1_4_4\xerces.jar org.apache.log4j.chainsaw.Main [main] DEBUG org.a

"forcing" a logging call

2003-02-03 Thread Lutz Michael
Is there a way to force a logging call to go through, regardless of what level is set? If I have to extend classes to achieve this, I'll do it. I'm having trouble finding a way to do this. Thanks in advance. Mike --- T

Why does FileAppender take so long to update?

2003-02-03 Thread David McCormick
Hi: I'm using log4j 1.2.7 on Orion. I've set up a ConsoleAppender and a FileAppender within my web app like this: class="org.apache.log4j.ConsoleAppender"> class="org.apache.log4j.File

import LoggingEvent Problem

2003-02-03 Thread logmail2003
Hi, Friends: I am using LoggingEvent in my code. I imported org.apache.log4j.spi.LoggingEvent in my program. The code is: import org.apache.log4j.spi.LoggingEvent; But when I tried to compile the program, I got the following error messages: Can't resolve symbol: symbol : class LoggingEven

RE: How to truncate characters in the layout of priority

2003-02-03 Thread Ebersole, Steven
The syntax you want is: %3.3p |-Original Message- |From: Daniel Serodio [mailto:[EMAIL PROTECTED]] |Sent: Monday, February 03, 2003 10:17 AM |To: Log4J Users List |Subject: RE: How to truncate characters in the layout of priority | | |Actually, no. I alway

RE: How to truncate characters in the layout of priority

2003-02-03 Thread Daniel Serodio
Actually, no. I always use %5p. []'s Daniel Serodio On Mon, 2003-02-03 at 13:17, Abramson, Rami wrote: > Have tried it and it does not work. > Have you tried it? > > thank you, > > Rami > > -Original Message- > From: Daniel Serodio [mailto:[EMAIL PROTECTED]] > Sent: Monday,

Re: Just for fun: Some log4j class diagrams

2003-02-03 Thread David Tonhofer, m-plify S.A.
Hi, Yes, I used Visio 2000, which pretty well except for the export functions. The revised stuff (also in PDF) is now available. Let me know what you think. at: http://rei1.m-plify.com/log4j/ --On Monday, February 03, 2003 12:14 PM +0100 Ceki Gülcü <[EMAIL PROTECTED]> wrote: David, Pretty

Re:Real-time configuration for a bean inside application server

2003-02-03 Thread Jacob Kjome
What exactly isn't getting recognized? What are you changing? The only thing that I know can be done using configureAndWatch is to add loggers. Someone please correct me if I am wrong here. So, you can add them, but removing them from the properties file will not cause a particular logger

RE: How to truncate characters in the layout of priority

2003-02-03 Thread Abramson, Rami
Have tried it and it does not work. Have you tried it? thank you, Rami -Original Message- From: Daniel Serodio [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003 3:47 PM To: Log4J Users List Subject: Re: How to truncate characters in the layout of priority Use %

Callback Interface

2003-02-03 Thread Binu
Hi, I am using log4j for my application logging. Now one of my component need to know when some Exceptions are logged. I would like to know if there is any callback interface provided for this purpose. Thanks in advance, Binu. --

Re: How to truncate characters in the layout of priority

2003-02-03 Thread Daniel Serodio
Use %3p for the first 3 characters of the priority. []'s Daniel Serodio On Mon, 2003-02-03 at 11:43, Abramson, Rami wrote: > Hello, > > How is it possible in the property file to define a layout that outputs only > the first 3 characters of the priority? > > Output lines for example, > > DEB T

How to truncate characters in the layout of priority

2003-02-03 Thread Abramson, Rami
Hello, How is it possible in the property file to define a layout that outputs only the first 3 characters of the priority? Output lines for example, DEB This is a test of DEBUG... FAT This is a test of FATAL... Instead of receiving, DEBUG This is a test of DEBUG... FATAL This is a test of FA

RE: Real-time configuration for a bean inside application server

2003-02-03 Thread Colquhoun, Adrian
When I have tried the configure and watch option I have found that it only seems to pick up the changes dynamically if you explicitly specify the path to the properties file rather than letting log4j find it on the classpath Cheers Adrian -Original Message- From: [EMAIL PROTECTED] [mail

Re:Real-time configuration for a bean inside application server

2003-02-03 Thread [EMAIL PROTECTED]
Hi everybody, unfortunately nobody answered me at my previous mail (shown below) about logging for a bean. Now, I 'm wondering whether I did not receive any answer because mine is a complicated problem that nobody has already investigated, or I'm following a completely wrong way or I haven't

Re: Just for fun: Some log4j class diagrams

2003-02-03 Thread Ceki Gülcü
David, Pretty sharp looking. Which program did you use to generate these images? Was it MS Visio? At 16:05 02.02.2003 +0100, you wrote: Hi there, I didn't have a date tonight, so I worked on some log4j class diagrams. If anyone is interested: http://rei1.m-plify.com/log4j/ ...in PNG and Micr