Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Streaming stdout includes diagnostics #456

Closed
edsu opened this issue May 13, 2021 · 0 comments
Closed

Streaming stdout includes diagnostics #456

edsu opened this issue May 13, 2021 · 0 comments

Comments

@edsu
Copy link
Member

edsu commented May 13, 2021

It appears that diagnostic information is being written to stdout instead of stderr when streaming, which causes non-json data to be written to a file:

 twarc stream  > stream.jsonl

This put the following lines in stream.jsonl:

Started a stream with rules:
☑  kenmurestreet
☑  forcedeviction
Writing to <stdout>
CTRL+C to stop...
@edsu edsu closed this as completed in 4cdb768 May 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant