Generalize deploy to multi-mode and add default logger.xml