Skip to content
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

Write server list to stdout #1275

Merged
merged 1 commit into from
May 12, 2023
Merged

Write server list to stdout #1275

merged 1 commit into from
May 12, 2023

Conversation

minrk
Copy link
Contributor

@minrk minrk commented May 12, 2023

instead of logging, which goes to stderr and is often prefixed and/or filtered by log levels

regression introduced in #1114 because the linter gave some bad advice.

I added an ignore for the print lint in app files, since print's the right way to produce output on stdout in general, not logging. I'd probably choose disabling it globally, but didn't want to go that far here.

closes #1273

instead of logging, which goes to stderr and is often prefixed and/or filtered by log levels
@blink1073 blink1073 changed the title write server list to stdout Write server list to stdout May 12, 2023
@blink1073 blink1073 added the bug label May 12, 2023
Copy link
Contributor

@blink1073 blink1073 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@blink1073 blink1073 merged commit 5342880 into jupyter-server:main May 12, 2023
@minrk minrk deleted the list-json branch August 8, 2024 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

server list --json is no longer valid json?
2 participants