This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to load logger properties dynamically