IntelliJ Java IDE
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: 1340
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
 
 
subject: Seperate configuration file for seperate logger in log4j
 
Threads others viewed
Problems with Static Mehtods
Not able to save logs into .log file
JDK Logging question
log4j config file setup
log4j category
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture