• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

need separate log file for some classes in the application

 
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic