Flush log per character.
Put log in the right place on disk.
Don't log data bytes while recording.
After finishing recording return to waiting for a ring.