aspose file tools
The moose likes Other Open Source Projects and the fly likes Seperate configuration file for seperate logger in log4j Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Products » Other Open Source Projects
Reply Bookmark "Seperate configuration file for seperate logger in log4j" Watch "Seperate configuration file for seperate logger in log4j" New topic
Author

Seperate configuration file for seperate logger in log4j

krishnakumar K R
Greenhorn

Joined: Oct 27, 2005
Posts: 12
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

Joined: Oct 10, 2000
Posts: 1348
What do you mean by a module. What have you tried?
krishnakumar K R
Greenhorn

Joined: Oct 27, 2005
Posts: 12
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

Joined: Oct 27, 2005
Posts: 12
Hi ,

Waiting for your responses...

Thanks again.

Reagrds,
Krish
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Seperate configuration file for seperate logger in log4j
 
Similar Threads
log4j config file setup
JDK Logging question
Problems with Static Mehtods
Not able to save logs into .log file
log4j category