Author: michiel
Date: 2010-01-15 11:07:31 +0100 (Fri, 15 Jan 2010)
New Revision: 40584

Modified:
   
mmbase/branches/MMBase-1_9/core/src/main/java/org/mmbase/module/core/MMBase.java
Log:
  MMB-1912

Modified: 
mmbase/branches/MMBase-1_9/core/src/main/java/org/mmbase/module/core/MMBase.java
===================================================================
--- 
mmbase/branches/MMBase-1_9/core/src/main/java/org/mmbase/module/core/MMBase.java
    2010-01-15 09:11:16 UTC (rev 40583)
+++ 
mmbase/branches/MMBase-1_9/core/src/main/java/org/mmbase/module/core/MMBase.java
    2010-01-15 10:07:31 UTC (rev 40584)
@@ -350,7 +350,7 @@
             if (pos != -1) {
                 machineNameParam =
                     machineNameParam.substring(0, pos) +
-                    machineName + machineNameParam.substring(pos + 7);
+                    host + machineNameParam.substring(pos + 7);
             }
             // you may also try to incorporate the username in the machine name
             pos = machineNameParam.indexOf("${USER}");
@@ -376,7 +376,7 @@
             machineName = localHost + MMBaseContext.getHtmlRootUrlPath();
 
         }
-        log.service("MMBase machine name used for clustering: '" + machineName 
+ "'");
+        log.info("MMBase machine name used for clustering: '" + machineName + 
"'");
         Logging.setMachineName(machineName);
         org.mmbase.util.xml.EntityResolver.clearMMEntities(false);
 

_______________________________________________
Cvs mailing list
Cvs@lists.mmbase.org
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to