Switched to built-in logger.