change log stream buffer from *new* to *on stack*