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

Useless log outputs shows forever #133

Closed
Capotasto opened this issue Mar 20, 2019 · 4 comments
Closed

Useless log outputs shows forever #133

Capotasto opened this issue Mar 20, 2019 · 4 comments
Labels
closing-soon feature-request Request a new feature

Comments

@Capotasto
Copy link

Hi, I'm using AppySync without caching right now.
And I am flustered about useless log output on the Logcat like below.
It outputs every 10 seconds and repeats forever.

Can we make this stop?

Thank you

.
. 
.
2019-03-20 15:57:52.620 26698-26756/jp.co.xxx.xxx.dev V/QueueUpdateHandler: Thread:[9700]: Got message to take action on the mutation queue.
2019-03-20 15:57:52.621 26698-26756/jp.co.xxx.xxx.dev V/QueueUpdateHandler: Thread:[9700]: Got message to process next mutation if one exists.
2019-03-20 15:57:52.624 26698-26756/jp.co.xxx.xxx.dev V/AppSyncOfflineMutationManager: Thread:[9700]:Persistent mutations queue is EMPTY!. Will check inMemory Queue next
2019-03-20 15:57:52.624 26698-26756/jp.co.xxx.xxx.dev V/AppSyncOfflineMutationManager: Thread:[9700]: In Memory mutations queue was EMPTY!. Nothing to process, exiting
@minbi minbi added feature-request Request a new feature AppSync labels Mar 25, 2019
@minbi
Copy link
Contributor

minbi commented Mar 25, 2019

Hi @Capotasto ,

We will need to investigate the logging mechanism used and provide options, if possible.

@minbi minbi self-assigned this Mar 25, 2019
@minbi minbi removed their assignment Jun 11, 2019
@mlykotom
Copy link

It's not just logging, but there should be some cancellation method for it, because otherwise if having appsync client just in one activity, when going back, we cannot cancel all the offline calls... if going on that screen again, you practically create another client without cancelling previous calls...

@Capotasto
Copy link
Author

@mlykotom I don't fully understand what you are doing with appsync but I think you should not have appsync client instance for each activity. I create appsync client instance in Application class once and use that instance for each view's.

@stale
Copy link

stale bot commented Apr 18, 2020

This issue has been automatically closed because of inactivity. Please open a new issue if are still encountering problems.

@stale stale bot closed this as completed Apr 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closing-soon feature-request Request a new feature
Projects
None yet
Development

No branches or pull requests

4 participants