In Java Project, with log4j it is possible to enable logging at runtime without modifying the application binary. The log4j package is designed so that these statements can remain in shipped code …
Read Article about Java: How to configure log4j.properties correctly – log4j Sample Program →