Skip to content

Conversation

@julianoes
Copy link
Collaborator

@julianoes julianoes commented Jul 26, 2025

This is an attempt to improve the logging situation.

This closes #586, #585, and hopefully fixes mavlink/MAVSDK#2618 as well.

This goes together with mavlink/MAVSDK#2626 mavlink/MAVSDK#2631.

In the beginning a bit of verbosity is a good thing.
- Parse mavsdk_server log levels (Debug/Info/Warn/Error) and
  map to Python logging
- Strip ANSI color codes from server output
- Use 'mavsdk_server' as logger name
- Make warning/error messages visible by default, INFO/DEBUG not
@julianoes julianoes requested a review from JonasVautherin July 26, 2025 09:48
Copy link
Collaborator Author

@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.

Let's try this out.

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.

MAVSDK connection freezes when using mavsdk_server_win32.exe when using python subprocess with stdout=subprocess.PIPE

2 participants