Fix logging instead of logger.