Well, basically, you should not do this. Think of it this way: if this is done this way, each library included in any application will have its own logging configuration, very potentially redefining any of those in the application and each other in an indescribable manner, you would not want this . So do not do this.
[If you really want to do this, you may have a properties file in the bank that can be overridden by an XML file in the main application. See more details. But do not. :)]
source share