Use logger.warning instead of deprecated warn
#452
+1
−1
logger.warning instead of deprecated warn
#452