need separate log file for some classes in the application
posted 3 years ago
In my application log4j is already implemented and I want to create a separate log file for only three classes (ie rulejob, ruletask, ruleprocess classes) the rest should be logged in the old log file. Can anyone help me in doing this.
existing implementation is
I did like this in extra to the present implementation
but this is creating logs in RuleJob.log, only for rulejob class. If i have to log ruletask.java and ruleprocess.java logs also in the same log file (rulejob.log). What else I need to configure inorder to achieve this.