Skip to content

Use debug logging instead for Azure tests #44672

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

Merged
merged 1 commit into from
Jul 22, 2019

Conversation

jasontedor
Copy link
Member

These Azure tests have hard println statements which means we always see these messages during configuration. Yet, there are unnecessary most of the time. This commit changes them to use debug logging.

These Azure tests have hard println statements which means we always see
these messages during configuration. Yet, there are unnecessary most of
the time. This commit changes them to use debug logging.
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed

@jasontedor
Copy link
Member Author

This removes these statements which always appear during configuration:

> Configure project :plugins:repository-azure:qa:microsoft-azure-storage
Using access key in external service tests.

Perhaps these log messages are not needed at all, but this PR takes the conservative approach of assuming they are needed, but not dumping them to the console in configuration for every build.

Copy link
Member

@original-brownbear original-brownbear left a comment

Choose a reason for hiding this comment

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

@jasontedor thanks! These were actually put in place to verify that the 3rd party tests on CI are correctly configured. I don't think that's necessary anymore (the 3rd party tests work now and with recent changes we have other ways of verifying what credentials are used anyway). Feel free to just remove this logging if you want.

@jasontedor jasontedor merged commit 35d4a9d into elastic:master Jul 22, 2019
jasontedor added a commit that referenced this pull request Jul 22, 2019
These Azure tests have hard println statements which means we always see
these messages during configuration. Yet, there are unnecessary most of
the time. This commit changes them to use debug logging.
jasontedor added a commit that referenced this pull request Jul 22, 2019
These Azure tests have hard println statements which means we always see
these messages during configuration. Yet, there are unnecessary most of
the time. This commit changes them to use debug logging.
jasontedor added a commit that referenced this pull request Jul 22, 2019
This commit removes some unneeded debugging logging statements from the
Azure storage tests.

Relates #44672
jasontedor added a commit that referenced this pull request Jul 22, 2019
This commit removes some unneeded debugging logging statements from the
Azure storage tests.

Relates #44672
jasontedor added a commit that referenced this pull request Jul 22, 2019
This commit removes some unneeded debugging logging statements from the
Azure storage tests.

Relates #44672
@jasontedor jasontedor deleted the azure-logger-debug branch July 22, 2019 07:59
@jasontedor
Copy link
Member Author

I pushed 56d47d0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants