Implement the log stream