Use log.warning instead of print See merge request !296
mentioned in commit d00f48aa
mentioned in commit 0e0329ec