fix the parameters for a logging.warning call
Merge pull request #1499 from matrixise/fix_logger

Fix the parameters for a logging.warning call