Skip to content

Conversation

@EricPedley
Copy link

@EricPedley EricPedley commented Apr 24, 2023

Motivation

In #585 I described how logging output from the child process for mavsdk_server at only debug level hides useful errors from the user.

Summary

This PR removes the logic for redirecting the subprocess stdout to the debugger and results in the mavsdk_server child process's stdout and stderr going straight to the main stdout/stderr.

Copy link
Collaborator

@julianoes julianoes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about making it an option?

@EricPedley
Copy link
Author

EricPedley commented Apr 25, 2023

What about making it an option?

Yeah this is a good idea. I added another parameter to System.connect that lets users turn off this logging.

@EricPedley EricPedley requested a review from julianoes April 25, 2023 05:42
@JonasVautherin
Copy link
Collaborator

I think we should try to fix what was done in #370 (if it is indeed broken) instead 🤔

@julianoes
Copy link
Collaborator

julianoes commented Aug 1, 2025

@EricPedley sorry, I didn't merge this but I hope what I did in #781 - released in 3.9.0 - works for you. If you could test it and report back whether it works for you, that would be fantastic.

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.

3 participants