[EMAIL PROTECTED] wrote:
> I'm working on a project where I'm implementing a 3rd party
> proprietary/(mostly undocumented) network protocol.
> One of my logging statements dumps each byte as it's received/sent over the
> network. This is used in the "direst" debugging situations, and can
> obvious
Has anyone gone through extending the patternlayout according to
http://www.ingrid.org/jajakarta/log4j/jakarta-log4j-1.1.3/docs/deepExtension
.html ?
If so, what tradeoffs are there between adding new sources for layouts as
opposed to pushing them on a NDC stack?
Has anyone actually followed th
Shapira, Yoav wrote:
>The reason I like the TRACE level as a standard is not because of the
>above. It's because commons-logging expects it and JDK logging has it
>(as FINE). I think the JDK logging levels of FINE, FINER, FINEST in
>addition to the normal levels are completely overkill. But on
Thank you. It works but I wonder why root level is not working...
-Original Message-
From: Klein, Scott @ TW [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 19, 2002 1:52 PM
To: 'Log4J Users List'
Subject: RE: How do I use root logger?
not saying whether that this is how it is supposed
Hi,
>The upshot of this is the ability to dynamically change the "level" of
>debug messages being viewed.
Chainsaw is great for this with log4j. But that's besides the point.
The reason I like the TRACE level as a standard is not because of the
above. It's because commons-logging expects it a
[EMAIL PROTECTED] wrote:
>I'm working on a project where I'm implementing a 3rd party
>proprietary/(mostly undocumented) network protocol.
>One of my logging statements dumps each byte as it's received/sent over the
>network. This is used in the "direst" debugging situations, and can
>obviously g
Fanny,
As far as I know user is not supported and Source is always "log4j".
Priority is mapped to Type. Fatal and Error map to Error, Warn to Warning, Info and
Debug to Information.
Category should reflect the Priority as string. If I am right there is a wrong
assumption regarding how NT eventl
DOMConfigurator supports rudimentary variable interpolation. Variables found
in the System properties can be used in the XML config file like this:
Hope this helps.
--
Thomas
| -Original Message-
| From: [EMAIL
I am using the DOMConfigurator, and would like to make use of the variable
substitution available to Log4J.
Does anyone have an XML example of this?
The book only has a log4j.properties file example, and I do not know the
XML syntax. I get SAXParser errors...
Luc
--
To unsubscribe
Hi,
Every now and then there's a use-case where the logging statements seem
to almost-but-not-quite fit any of the established levels. There are
conceptually two approaches:
- Create your own level
- Use an existing level
Creating your own level is possible in log4j. The downside is that you
s
Probably you should add it privately since I think the main developers
have log4j have decided that such a level isn't really necessary.
However, I tend to agree with you. In fact, I am using log4j through
the commons-logging interface and when first doing so, I got confused
and tried to log thr
I'm working on a project where I'm implementing a 3rd party
proprietary/(mostly undocumented) network protocol.
One of my logging statements dumps each byte as it's received/sent over the
network. This is used in the "direst" debugging situations, and can
obviously generate a very large number of
Hi,
>
> The issue i am facing is that the log4j.dtd defines the event as
> follows:
>
> category CDATA #REQUIRED
> priority CDATA #REQUIRED
> thread CDATA #REQUIRED
> timestamp CDATA #REQUIRED
> >
>
> Note that the dtd uses "priority" while the XMLLayout
> uses "level"(for severity levels l
HI,
Thanks for your reply. Actually, I am able to log the message to NT
event log. But the values in Type, Source, Category, Event and User
columns on Event Log viewer are always the same. Seems that the log4j
api only able to change the message. Since my applications need to
have different
14 matches
Mail list logo