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

[WIP] Replace print calls with logging #441

Closed
wants to merge 10 commits into from
Closed

Conversation

englehardt
Copy link
Collaborator

This is especially important in SocketInterface.py, which is currently printing important serialization errors.

@englehardt
Copy link
Collaborator Author

Will rebase on #440 once merged.

@motin motin changed the title Replace print calls will logging Replace print calls with logging Aug 6, 2019
@englehardt englehardt changed the title Replace print calls with logging [WIP] Replace print calls with logging Aug 6, 2019
@englehardt
Copy link
Collaborator Author

We should fix #258 as part of this

This also better handles errors if we still fail after retrying (so the
aggregator process doesn't crash).
The current inter-process log handler discards `exc_info` and adds the
arguments to the exception message. This prevents Sentry from properly
grouping log messages by their exception and call information. We send
the information if possible (or fall back to the previous approach if
not).
@englehardt
Copy link
Collaborator Author

Closing this since I never managed to get the tests passing.

@englehardt englehardt closed this Dec 4, 2019
@englehardt englehardt deleted the remove_print branch December 19, 2019 14:43
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

Successfully merging this pull request may close these issues.

1 participant