File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "tomcat-juli.jar in bin directory" Watch "tomcat-juli.jar in bin directory" New topic

tomcat-juli.jar in bin directory

Adhipadhi Rajan

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: 17423

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.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: tomcat-juli.jar in bin directory
It's not a secret anymore!