Skip to content

Subprocess-Worker: Faulthandler und Output filtern und sofort loggen #151

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

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

MartinGauk
Copy link
Contributor

  • Bei debug Log-Level sollen die Ausgaben des Workers im stderr sofort ausgegeben werden.
  • Andernfalls werden die stderr Ausgaben als INFO nun geloggt.
  • ASCII Control Characters werden aus Sicherheitsgründen ersetzt. Besonders die ANSI Escape Codes sollen nicht im Terminal ankommen.
  • Der Faulthandler von Python wird aktiviert und dem Prozess wird ein SIGABRT geschickt, wenn er wegen einer Zeitüberschreitung gestoppt werden soll.
    https://docs.python.org/3/library/faulthandler.html

Mit diesen Maßnahmen soll das Debugging verbessert werden.

@MartinGauk MartinGauk requested a review from MHajoha May 15, 2025 10:12
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