[Minor] Added name of application to startup log

This commit is contained in:
Robert von Burg 2014-08-04 18:06:16 +02:00
parent 99f34ec1b2
commit a71c77b02c
1 changed files with 3 additions and 4 deletions

View File

@ -290,10 +290,9 @@ public class ComponentContainerImpl implements ComponentContainer {
start(rootUpstreamComponents);
this.state = this.state.validateStateChange(ComponentState.STARTED);
String msg = "All {0} Strolch Components started and container now ready to be used. Have fun =))"; //$NON-NLS-1$
logger.info(MessageFormat.format(msg, this.controllerMap.size()));
logger.info(MessageFormat.format("Running on {0}", SystemHelper.asString())); //$NON-NLS-1$
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()));
logger.info(MessageFormat.format("System: {0}", SystemHelper.asString())); //$NON-NLS-1$
logger.info(MessageFormat.format("Memory: {0}", SystemHelper.getMemorySummary())); //$NON-NLS-1$
}