use logging.error / logging.warn in appropriate places, instead of logging.debug
Merge pull request #710 from bcipolli/use_logging_error

use logging.error / logging.warn in appropriate places, instead of logging.debug