added log messages to diagnose server spin.