[Jboss-cvs] JBossAS SVN: r55059 - trunk/system/src/main/org/jboss/system/server/profileservice

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Aug 2 19:53:00 EDT 2006


Author: scott.stark at jboss.org
Date: 2006-08-02 19:52:59 -0400 (Wed, 02 Aug 2006)
New Revision: 55059

Modified:
   trunk/system/src/main/org/jboss/system/server/profileservice/ServerImpl.java
Log:
Initialize the logging layer using the ServerImpl class. The server log directory is initialized prior to this to ensure the jboss.server.log.dir system property is set in case its used by the logging configs.


Modified: trunk/system/src/main/org/jboss/system/server/profileservice/ServerImpl.java
===================================================================
--- trunk/system/src/main/org/jboss/system/server/profileservice/ServerImpl.java	2006-08-02 22:46:20 UTC (rev 55058)
+++ trunk/system/src/main/org/jboss/system/server/profileservice/ServerImpl.java	2006-08-02 23:52:59 UTC (rev 55059)
@@ -135,7 +135,11 @@
          System.setProperty("java.io.tmpdir", serverTmpDir.getCanonicalPath());
       }
 
-      // Initialize out log
+      /* Initialize the logging layer using the ServerImpl class. The server log
+      directory is initialized prior to this to ensure the jboss.server.log.dir
+      system property is set in case its used by the logging configs.
+      */
+      config.getServerLogDir();
       log = Logger.getLogger(getClass());
 
       // Setup URL handlers - do this before initializing the ServerConfig




More information about the jboss-cvs-commits mailing list