This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
Hello: In my Web project I am starting to use java.util.logging package. In init() method from my servlet I wrote these lines:
When Tomcat starts, it is showed info and severe messages, but not fine message. I read a logging tip from Java Almanac and I changed [JDK_HOME]/jre/lib/logging.properties file. After some bad tries, I changed these lines:
So fine message was showed. This is my question: Is not there a better way to do this? I do not want modify a JVM File configuration. Is there a way to use WEB.xml to configure logging? I created another logging.properties to my application. First I putted this in /WEB-INF/classes/ directory. It does not work. After I moved this file to /WEB-INF/classes/ directory. It does not work too. I do not know what to do. I am using Tomcat 4.1.29. Thanks, [ December 17, 2003: Message edited by: Rafael Afonso ]
=================================<br /> Rafael U. C. Afonso<br /> <a href="http://www.javafree.com.br" target="_blank" rel="nofollow">www.javafree.com.br</a><br />=================================<br /><i>Where is debug?<br />debug is on the table</i>
Joined: Jul 16, 2002
Hello: My question was resolved in this thread in Sun Forum. Thanks,