Bad style for linking log4j.properties to the library.
With a spark, you can claim that it is closer to the application server (e.g. tomcat), in which case it can configure logging.
I would say that the test is that the one who controls the launch of the (.sh | .bat) script should configure the logging, and the log4j configuration files should almost never be in the bank.
source share