log capture proto