use log writer to annotate logs in non-streaming parallel mode