Use log4j instead of System.out for log messages in HostMessenger.