I have a package structure like com.xyz. I want a log4j.properties configuration which will put all comments/logs from this package classes to my custom log file & not from other lib jar packages. For example, struts.jar is there in the class path. All logging comments of this package is also appearing in my custom application log file.
Below is the log4j.properties configuration,
Below is the sample output from myapp.log
can anybody give some suggestion on how to implement this? or please mention the links if the solution already been mentioned somewhere else.