better log messages and failure to connect report