move logging to log, utils.go contains a debug logging function.

This adds the debug logging -- setting `DEBUG` in your environment to any non-empty string will trigger the logging.
This should be a debug message as well