Merge pull request #283 from hugovk/fix-logging.warn-deprecation

Replace deprecated logging.warn with logging.warning