Add stream flag to logs command

This is a stab at fixing #2997