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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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

how to load logger properties dynamically

Simpson Kumar
Ranch Hand

Joined: Mar 19, 2008
Posts: 260
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).

I agree. Here's the link:
subject: how to load logger properties dynamically
Similar Threads
How to configure Apache Commons Logging without Log4j
New to log4j - need some advice
how to connect log4j to remote server
Tomcat 5.5 logging internal process in tomcat_out.log
WEBSERVERS !! Tomcat - JBoss - Weblogic (evaluating the Differences and Similarities)