Skip to content

Check whether stdout is a real console#79981

Merged
elasticsearchmachine merged 3 commits intoelastic:8.0from
tvernum:backport/8.0/79882-Check-whether-stdout-is
Oct 28, 2021
Merged

Check whether stdout is a real console#79981
elasticsearchmachine merged 3 commits intoelastic:8.0from
tvernum:backport/8.0/79882-Check-whether-stdout-is

Conversation

@tvernum
Copy link
Copy Markdown
Contributor

@tvernum tvernum commented Oct 28, 2021

Adds a new "ConsoleLoader" that uses jANSI in a separate classloader
to determine whether standard output is a real console (that is, not
redirected to a file or /dev/null, etc)

Also updates security auto-configuration to only print out credentials
when there is a console.

Backport of: #79882

Adds a new "ConsoleLoader" that uses jANSI in a separate classloader
to determine whether standard output is a real console (that is, not
redirected to a file or /dev/null, etc)

Also updates security auto-configuration to only print out credentials
when there is a console.

Backport of: elastic#79882
@tvernum tvernum added backport auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) labels Oct 28, 2021
@tvernum
Copy link
Copy Markdown
Contributor Author

tvernum commented Oct 28, 2021

@elasticmachine update branch

@tvernum
Copy link
Copy Markdown
Contributor Author

tvernum commented Oct 28, 2021

@elasticmachine update branch

@elasticsearchmachine elasticsearchmachine merged commit 7466023 into elastic:8.0 Oct 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport v8.0.0-beta1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants