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

AWS4Signer logs in release variant #224

Closed
mohamed-khaled-hsn opened this issue Oct 31, 2019 · 3 comments
Closed

AWS4Signer logs in release variant #224

mohamed-khaled-hsn opened this issue Oct 31, 2019 · 3 comments
Assignees
Labels
pending-response Issue is pending response from the issue requestor question General question

Comments

@mohamed-khaled-hsn
Copy link

State your question
Is there a way to disable AWS4Signer logs?
I'm using Appsync with "AuthMode": "AWS_IAM"
and I can see logs even when I'm running release variant containing
host;x-amz-date;x-amz-security-token
why is this intended?

Environment(please complete the following information):

  • AppSync SDK Version: 2.8.2

Device Information (please complete the following information):

  • Device: Samsung Galaxy S8
  • Android Version: 9
@mutablealligator mutablealligator self-assigned this Nov 11, 2019
@mutablealligator
Copy link

@mohamed-khaled-hsn Sorry for the inconvenience caused. You can use LogFactory to set the log level to a level higher than the level of the signer to avoid getting these logs.

See aws-amplify/aws-sdk-android#1174 (comment) for reference.

@mutablealligator mutablealligator added the pending-response Issue is pending response from the issue requestor label Nov 11, 2019
@mohamed-khaled-hsn
Copy link
Author

Resolved by using LogFactory.setLevel

@mutablealligator
Copy link

Thank you @mohamed-khaled-hsn for confirming! Closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending-response Issue is pending response from the issue requestor question General question
Projects
None yet
Development

No branches or pull requests

2 participants