Working out logging.