Author: rareddy
Date: 2009-02-26 16:14:35 -0500 (Thu, 26 Feb 2009)
New Revision: 512
Modified:
trunk/server/src/main/java/com/metamatrix/server/ServerGuiceModule.java
Log:
TEIID-361
Modified: trunk/server/src/main/java/com/metamatrix/server/ServerGuiceModule.java
===================================================================
--- trunk/server/src/main/java/com/metamatrix/server/ServerGuiceModule.java 2009-02-26
20:52:47 UTC (rev 511)
+++ trunk/server/src/main/java/com/metamatrix/server/ServerGuiceModule.java 2009-02-26
21:14:35 UTC (rev 512)
@@ -83,7 +83,7 @@
bindConstant().annotatedWith(Names.named(Configuration.VMID)).to(vmID);
bind(Host.class).annotatedWith(Names.named(Configuration.HOST)).toInstance(host);
bindConstant().annotatedWith(Names.named(Configuration.CLUSTERNAME)).to(systemName);
- bindConstant().annotatedWith(Names.named(Configuration.LOGFILE)).to(StringUtil.replaceAll(host.getFullName(),
".", "_")+".log"); //$NON-NLS-1$ //$NON-NLS-2$
//$NON-NLS-3$
+ bindConstant().annotatedWith(Names.named(Configuration.LOGFILE)).to(StringUtil.replaceAll(host.getFullName(),
".", "_")+this.vmName+".log"); //$NON-NLS-1$ //$NON-NLS-2$
//$NON-NLS-3$
bindConstant().annotatedWith(Names.named(Configuration.LOGDIR)).to(host.getLogDirectory());
Names.bindProperties(binder(), CurrentConfiguration.getInstance().getProperties());