Howdy,
I don't think you understood my bigger point. ;)  I know you use levels
differently than I do.  My point was that what some people consider
informational, other people considering debug, and vice versa.  And
that's OK.  That's why log4j is extensible. ;)

>Info is a level where -informational- messages are given, and I'd guess
>most installations leave the INFO level "on" for production servers.

That's a guess, as you say.  I personally know several production
systems that run at WARN and higher.

>The best point I've made, in my own opinion, is the one about
"production
>levels" (4: info, warn, error, fatal) and "development levels" (1:
debug).

I disagree there, as I don't split the levels into production or
development.  They're all there for my use in all environments.  An
error is an error in production just like it is in development.

>Do you feel that a info-statement is a "development" statement? You

It can be for some people, it might not be for others.  Usually, I make
3rd party code run at WARN and above, and maybe some parts of my own
code run at INFO and above.

>obviously turn off information-level logging in production servers
then,
>don't you? Then you're left with -three- production levels, ALL of
which
>represent some kind of anomaly (warn, error, fatal) - where do you
>"inform" your log about "customer [log4j] added to database" - which in
MY
>opinion is a statement that I'd ALWAYS like to have in my logs, but
isn't
>no warning, no error, nor a fatal happening.

It's your opinion, your logging.  So use INFO for that, and leave INFO
enabled.  I prefer to only be informed of anomalies ;)  A good day is
one with very small logs.

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.

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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

Reply via email to