Add -log-stderr flag to log to stderr instead of stdout#59
Open
acscpt wants to merge 1 commit intoscarybeasts:masterfrom
Open
Add -log-stderr flag to log to stderr instead of stdout#59acscpt wants to merge 1 commit intoscarybeasts:masterfrom
acscpt wants to merge 1 commit intoscarybeasts:masterfrom
Conversation
Separating diagnostic log output from stdout allows clean capture of emulated terminal output when running with -terminal -headless, without relying on line-level filtering at the consumer. Default behaviour is unchanged. The flag is a no-op when -no-log-stdout is also set, since that gate disables terminal logging entirely; this is noted in the help text.
acscpt
added a commit
to acscpt/beebjit
that referenced
this pull request
Apr 26, 2026
Each bullet in the composed release-notes header now links to its associated upstream PR (scarybeasts#58, scarybeasts#59, scarybeasts#60) so the credit chain is visible on the release page. Bullets will come off the list as PRs merge upstream and the changes ship in upstream releases.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi there,
As promised, here's another PR for a small feature for when running beebjit headless.
Currently log output goes to stdout and mixes with emulator output. Added a
-log-stderrflag that works alongside thestandard logging behaviour: when set, logs go to stderr instead of stdout. Makes it easier for a harness to distinguish emulator output from logging. Ignored if
-no-log-stdoutis also set.Default behaviour is left unchanged, strictly an opt-in mechanism.
Branch up on my fork at acscpt/beebjit:pr/log-stderr.
Thanks again for beebjit!