Switch consistency to use logging instead of logger.