Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Seperate configuration file for seperate logger in log4j

 
krishnakumar K R
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

In my application, i wish to associate seperate configuration files to seperate logger under the same class.So that i can log different modules using different loggers.

Is that is possible? If so please provide me with some examples.

Any help would be greatly appreciated..

Regards,
Krish
 
Carol Enderlin
drifter
Ranch Hand
Posts: 1364
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean by a module. What have you tried?
 
krishnakumar K R
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Carol,

I want to use more than one logger under a class so that i can log different message using different loggers.I mentioned "different messages" as modules.. thats it.

Thanks for ur help.

Regards,
Krish
 
krishnakumar K R
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

Waiting for your responses...

Thanks again.

Reagrds,
Krish
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic