This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
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.