It's not a secret anymore!*
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
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: how to load logger properties dynamically
 
Similar Threads
WEBSERVERS !! Tomcat - JBoss - Weblogic (evaluating the Differences and Similarities)
Tomcat 5.5 logging internal process in tomcat_out.log
How to configure Apache Commons Logging without Log4j
how to connect log4j to remote server
New to log4j - need some advice