aspose file tools*
The moose likes Other Open Source Projects and the fly likes how to load logger properties dynamically Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "how to load logger properties dynamically " Watch "how to load logger properties dynamically " New topic
Author

how to load logger properties dynamically

Simpson Kumar
Ranch Hand

Joined: Mar 19, 2008
Posts: 261
our application needs to setup logging with apache commons logging (not with log4j), we are using Jboss 4.2 AS, by default Jboss has the log4j.xml where we will can change and setup log files according to our way but our application needs a seperate log4j xml and we need to load them into application and need to configure. So how can we do these things.

please dont ask me why dont you use log4j, since I was requesting them to use log4j they are not allowing. They asked me to do this way (and they dont want to change any config files in Jboss AS).



Thanks,
Kumar
 
 
subject: how to load logger properties dynamically