fix logger.log for node