Skip to content

Fix multihost printing#646

Merged
JonJagger merged 1 commit intomainfrom
fix-multihost-printing
Jan 26, 2026
Merged

Fix multihost printing#646
JonJagger merged 1 commit intomainfrom
fix-multihost-printing

Conversation

@JonJagger
Copy link
Contributor

@JonJagger JonJagger commented Jan 26, 2026

A previous commit fda38e9 prefixed all output on stdout with the hostname when in multi-host mode. This broke clients (cyber-dojo) making CLI calls with the --output=json which of course no longer produced JSON. Doh!
This PR fixes this so stdout is prefixed with the hostname (in multi-host mode) only in debug mode.

@JonJagger JonJagger merged commit 09c5b2e into main Jan 26, 2026
10 checks passed
@JonJagger JonJagger deleted the fix-multihost-printing branch January 26, 2026 09:27
github-actions bot pushed a commit that referenced this pull request Jan 26, 2026
A previous commit fda38e9 prefixed all output on stdout with the hostname when in multi-host mode. This broke clients (cyber-dojo) making CLI calls with the --output=json which of course no longer produced JSON. Doh!
This PR fixes this so stdout is prefixed with the hostname (in multi-host mode) only in debug mode.
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.

2 participants

Comments