Skip to content

Redirect parser stdout/stderr to parsing log file#22

Merged
AnHeuermann merged 1 commit intomainfrom
log-everything
Mar 13, 2026
Merged

Redirect parser stdout/stderr to parsing log file#22
AnHeuermann merged 1 commit intomainfrom
log-everything

Conversation

@AnHeuermann
Copy link
Member

@AnHeuermann AnHeuermann commented Mar 13, 2026

Changes

Capture stdout and stderr during BaseModelica.create_odeproblem() using a Pipe, so that ANTLR syntax error messages are written to the per-model parsing log instead of cluttering the terminal. The captured output is appended after the summary lines (Time/Success).

Capture stdout and stderr during BaseModelica.create_odeproblem() using a
Pipe, so that ANTLR syntax error messages are written to the per-model
parsing log instead of cluttering the terminal. The captured output is
appended after the summary lines (Time/Success).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@AnHeuermann AnHeuermann self-assigned this Mar 13, 2026
@AnHeuermann AnHeuermann enabled auto-merge (squash) March 13, 2026 14:06
@AnHeuermann AnHeuermann merged commit f52773c into main Mar 13, 2026
4 checks passed
@AnHeuermann AnHeuermann deleted the log-everything branch March 13, 2026 14:22
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