On 7/13/2014 1:55 AM, Ashish Sureka wrote:
Apache uses a logging utility. The logging utility consists of several
levels such as: TRACE, DEBUG, INFO, WARN, ERROR and FATAL.
Which logging level to use (and also when to use) depends on the
level/severity of the event (which needs to be tracked/logged).
My question is:
1. Are there situations when logging is not used when it is supposed
to be used and vice-versa.
2. Are there situations when incorrect logging level is used?
It appears that you already answered your own question...
An SVN-commit/code-change (or perhaps sometimes a bug report is filed) is
then done to fix the issue.
For example (a concrete example). A recent bug report:
https://issues.apache.org/bugzilla/show_bug.cgi?id=56546
has a developer comment “Reduce the log level for stack trace message from
log.error() to log.info(). In the current code there are two "log.error()"
messages at once, which looks like overkill.”
This comment shows that logging was used incorrectly.
Thanks in advance,
Ashish
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org