[C] Switch to writing logs in v1 format.