Do log capture