Fix logger.

Fix logger.