| All of this just illustrates that everyone uses the logging component | different. You can't assume TRACE is something everyone wants, needs, | cares about, or would use if it were present.
So why aren't the levels called simply 1, 2, 3, 4 and 5, then?
If one stops to think about it for a second, your question is actually an excellent one.
Levels 5,4,3 (FATAL, ERROR, WARN) are reserved for exceptional situations. FATAL is probably not that useful but it's there.
Levels 1 and 2 (DEBUG and INFO) are used in the course of normal operations. There is no relation between these levels except that their ordering (5>4>3>2>1). That is all.
As Yoav pointed out, some people use both DEBUG and INFO during development. (Development in the sense of the initial debugging.)
You seem to be using only DEBUG which is perfectly legitimate but not the only way.
Imagine you had another way besides the DEBUG level to categorize logging statements (intended for debugging). For example, imagine you could categorize logging statements related to the servlet lifecycle, application configuration, tcp connections, database calls etc. Imagine you could enable/disable all database related logs across all your classes, or if you desired, in only some of your classes?
That's what domains bring you and that is why I think TRACE will be redundant in 1.3.
I'm forking off the "trace4log4j" project RSN - totally tracking the log4j package, only adding trace! Bet I'll get the entire user base right away!
I somehow doubt it but you have every right to fork the project. Good luck.
;-)
Ceki: where's the Domains stuff? In CVS?? Can't seem to find it.
Domains will be presented at ApacheCon 2003, Nov 18, in Las Vegas.
By the way, only 15 days left for registration!!!
Endre.
-- Ceki Gülcü
For log4j documentation consider "The complete log4j manual" ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp
import org.apache.Facetime; ApacheCon US 2003, 18-21 November http://apachecon.com/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]