[NF] Add logging.