MessageLogger messageLogger = new Log4jMessageLogger(statusUpdatesEnabled);
final EventLogger eventLogger = _systemConfig.getEventLogger();
eventLogger.setMessageLogger(messageLogger);
//Create the composite (log4j+SystemOut MessageLogger to be used during startup
MessageLogger[] messageLoggers = {new SystemOutMessageLogger(), messageLogger};
CompositeStartupMessageLogger startupMessageLogger = new CompositeStartupMessageLogger(messageLoggers);
EventLogger startupLogger = new EventLogger(startupMessageLogger);
logStartupMessages(startupLogger);