Fix testing logging.