Hi all, I'm trying to work with JBoss and Log4J, and have run into a question that I can't seem to find the answer to. In the course of trying to figure out how to specify "per-application" Log4J configuration for web-apps running under JBoss, I found this reference to the RepositorySelector mechanism: https://www.qos.ch/logging/sc.html What I don't know however is: 1. Does JBoss even support this mechanism? 2. If so, how do I utilize it in my client code, to retrieve the app specific Log4J instance? My initial thought, based on a quick perusal of the javadoc gives me the idea I'd need something like this: public class ControllerServlet { private static Logger logger; private ServletConfig config; public void init(ServletConfig config ) throws ServletException { this.config = config; LoggerRepository repos = LogManager.getLoggerRepository(); logger = repos.getLogger( (ControllerServlet.class ).toString()); } <snip> } is this anything close to correct? 3. assuming the above (or something similar) is used to retrieve the app specific instance of Log4J, is there anything special I need to do to tell Log4J where to find the app-specific log4j.xml? Or is simply putting log4j.xml under WEB-INF/classes sufficent? Would I still need to call DOMConfigurator.configure()? 4. is there any configuration at the JBoss level that needs to be done to support app-specific Log4J instances? I know about the log4.xml under server/default/conf/ which specifies the "global" Log4J properties for the container itself... it wouldn't need to be touched for this would it? Also, let me apologize in advance for the cross-post. I'm genuinely not sure which list was the best choice to post this question too. Thanks, Phillip Rhodes Application Designer Voice Data Solutions 919-571-4300 x225 [EMAIL PROTECTED] No citizen shall be denied the right to bear arms, if as a last resort, to protect themselves from tyranny in Government. - Thomas Jefferson --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]