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
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
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
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
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
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
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,
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
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
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 %
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.
--
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
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
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
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
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
16 matches
Mail list logo