@rygorous busy waiting but it probably wouldn’t have helped to put a fifo in front because the log volume would very quickly have swamped the buffer
(I was logging every byte received in hex and my laptop was impatiently spammig a lot of messages at me)