File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
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: 1364
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://aspose.com/file-tools
 
subject: Seperate configuration file for seperate logger in log4j
 
Similar Threads
Problems with Static Mehtods
JDK Logging question
Not able to save logs into .log file
log4j category
log4j config file setup