capture logging for endtoend