This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Tomcat and the fly likes tomcat-juli.jar in bin directory Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "tomcat-juli.jar in bin directory" Watch "tomcat-juli.jar in bin directory" New topic
Author

tomcat-juli.jar in bin directory

Adhipadhi Rajan
Greenhorn

Joined: Jul 21, 2013
Posts: 7
Any idea why this jar is put under bin directory while all other jar files are under lib directory? Also this is the only jar file in bin directory.

Any significance in tomcat for putting jar files in bin directory?
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16160
    
  21

Tomcat normally logs using juli (java.util.logging). However it is possible to create a Tomcat that uses some other logging facility, such as log4j.

Logging at the server level (webapps do not log through this system) is not a reconfigurable option. It can only be changed by doing a custom Tomcat build, and Tomcat's logging is something that has to come up very early in the startup sequence if it is to be effective. Probably before Tomcat scans the TOMCAT_HOME/lib directory.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: tomcat-juli.jar in bin directory