On Thu, 2003-02-13 at 01:27, Anders Engstr+APY-m wrote: +AD4 This question must have been asked a thousand times, but I still haven't +AD4 found a solution to the problem. +AD4 +AD4 We're developing an application that will be deployed on JBoss mostly, +AD4 but other application servers might be used as well (Orion, BEA, OC4J +AD4 etc.) We use log4j to handle logging in the application, and the +AD4 depoyable EAR-file is +ACI-setup+ACI with its own log4j configuration. +AD4 +AD4 JBoss uses log4j to log system messages and, needless to say, this log4j +AD4 configuration collides with the one in our application. +AD4 +AD4 In other app-servers that does not use log4j internally this is not an +AD4 issue. +AD4 +AD4 We need a standard way to specify the log4j configuration independent of +AD4 the application server we are deploying to. It makes total sense to +AD4 separate the appserver logging from the application's logging. +AD4 +AD4 How are folks handling this situation?
Remeber that the conf directory is jsut a part of the class path and the log4j config file in there is a standard log4j xml config file. I usually add my logging information to it. +AD4 //Anders -- If you don't test then your code is only a collection of bugs which apparently behave like a working program. Website: http://www.rocketred.com.au/blogs/kevin/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
