(This must be national logging questions month :-)
More like International logging month - everyone upgrading to tomcat
5.5 or better is forced to confront this issue, many are under a lot
of pressure, and they don't all read English. The differences are
subtle and lost in translation.
(1) I submit that this paragraph on http://tomcat.apache.org/tomcat-5.5-doc/logging.html
makes people react poorly as it offers nothing except a "gotcha" and
you got more to learn.
An important consequence for Tomcat 5.5 is that the <Logger> element
found in previous versions to create a localhost_log is no longer a
valid nested element of <Context>. Instead, the default Tomcat
configuration will use java.util.logging. If the developer wishes to
collect detailed internal Tomcat logging (i.e what is happening
within the Tomcat engine), then they should configure a logging
system such as java.util.logging or log4j as detailed next.
(2) There ought to be a link to some page describing how to convert a
<Logger> into something useful in Tomcat 5.5.
There is the page http://wiki.apache.org/tomcat/FAQ/Logging but there
is no link on the logging page to the FAQ.
(3) On the logger FAQ page the Configuration link is dead! http://tomcat.apache.org/tomcat-5.0-doc/config/logger.html
gives a 404.
(4) You offer two different methods which is great, but now not only
is someone who just wants to convert their <Logger> is forced to
choose between two "unknowns."
So, a table comparing log4j vs JULI for various logging requirements
would really help. A user could look it over and be more likely to
know whether they should prefer to try log4j or JULI.
Classloading and where to put jars and why is important.
(5) It looks like Ole is working on some documentation improvements I
hope these comments will help.
The current state of logging documentation only frustrates the already
frustrated.
But really thanks - I do like Tomcat.
Regards,
Dave
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]