[Minor] also logging environment after startup

This commit is contained in:
Robert von Burg 2014-08-28 22:05:01 +02:00
parent 9a3d31ef35
commit dc45e3ec8c
1 changed files with 3 additions and 2 deletions

View File

@ -305,8 +305,9 @@ public class ComponentContainerImpl implements ComponentContainer {
start(rootUpstreamComponents);
this.state = this.state.validateStateChange(ComponentState.STARTED);
String msg = "All {0} Strolch Components started. {1} is now ready to be used. Have fun =))"; //$NON-NLS-1$
logger.info(MessageFormat.format(msg, this.controllerMap.size(), this.getAgent().getApplicationName()));
String msg = "All {0} Strolch Components started. {1}:{2} is now ready to be used. Have fun =))"; //$NON-NLS-1$
logger.info(MessageFormat.format(msg, this.controllerMap.size(), getAgent().getApplicationName(), this
.getAgent().getStrolchConfiguration().getRuntimeConfiguration().getEnvironment()));
logger.info(MessageFormat.format("System: {0}", SystemHelper.asString())); //$NON-NLS-1$
logger.info(MessageFormat.format("Memory: {0}", SystemHelper.getMemorySummary())); //$NON-NLS-1$
}