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 through the "TRACE" level of commons logging, which is
basically the same idea as your "DEBUG_PEDANTIC", but which doesn't
exist in log4j.  I could never figure out why my trace statements
weren't logging until I asked the dumb question here and realized it
didn't exist, no matter what the commons wrapper thought.

Still, I think there IS a use case for what you want and I, for one,
would like to see it in log4j.  However, I have the feeling that this is
a thread that has been hashed over many times before and I'm not sure
what the principal developers would say.

-----------------------------------------------------------------
Steve Cohen
Sr. Software Engineer
Ignite Sports, Inc.
[EMAIL PROTECTED]


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 20, 2002 9:54 AM
To: [EMAIL PROTECTED]
Subject: New Level?


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 logging events.
(90% or more of the data is just encoded character data, and I also
debug
each character as it's decoded, so I get alot of events here as well.)

These statements have the level of "DEBUG", but I think these situations
warrant a new Level. Say "DEBUG_PEDANTIC". Basically this Level could be
used in situations where the statement is a debug statement by
definition,
but it's called such a HUGE amount of times, and carries so little
information, that it's only used in special/rare circumstances.

Does this make any sense to add to log4j permanently? Does anyone else
have
a use for it?
Or should I just add it myself to my own copy and use it privately?

Thanks.
-Mark



--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to