Add more logging and support to change bind host.