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

Console log state setting not honored #14

Closed
rmtheis opened this issue Dec 19, 2016 · 4 comments
Closed

Console log state setting not honored #14

rmtheis opened this issue Dec 19, 2016 · 4 comments

Comments

@rmtheis
Copy link

rmtheis commented Dec 19, 2016

Once a minute, Instabug is spamming the device log with a stack trace. This happens when I'm using Charles to proxy device traffic.

I am using .setConsoleLogState(Feature.State.DISABLED) but I still see these messages.

12-19 09:58:02.818 9118-9245/com.xxxxxxxxxxxxxxxxxxxxxxxxxx E/INSTABUG -: Network request got error
12-19 09:58:02.819 9118-9245/com.xxxxxxxxxxxxxxxxxxxxxxxxxx E/INSTABUG - c: Error getting Network request response: {"status":"You are not allowed to message this issue"}
12-19 09:58:02.821 9118-9245/com.xxxxxxxxxxxxxxxxxxxxxxxxxx E/INSTABUG -: Request got error: https://api.instabug.com/api/sdk/v3/chats/sync
                                                                          com.instabug.library.network.d: No network connection - responseCode: 406
                                                                          
                                                                              at com.instabug.library.network.c.d(NetworkManager.java:237)
                                                                              at com.instabug.library.network.c.a(NetworkManager.java:32)
                                                                              at com.instabug.library.network.c$1.a(NetworkManager.java:83)
                                                                              at com.instabug.library.network.c$1.call(NetworkManager.java:59)
                                                                              at rx.Observable.unsafeSubscribe(Observable.java:10150)
                                                                              at rx.internal.operators.OperatorSubscribeOn$1.call(OperatorSubscribeOn.java:94)
                                                                              at rx.internal.schedulers.CachedThreadScheduler$EventLoopWorker$1.call(CachedThreadScheduler.java:228)
                                                                              at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:55)
                                                                              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422)
                                                                              at java.util.concurrent.FutureTask.run(FutureTask.java:237)
                                                                              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:152)
                                                                              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:265)
                                                                              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
                                                                              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
                                                                              at java.lang.Thread.run(Thread.java:818)
@rmtheis
Copy link
Author

rmtheis commented Jan 4, 2017

Possibly related: #3

@DevHossamHassan
Copy link
Contributor

Hey @rmtheis
Thanks for reporting this issue
We're currently fixing it, and we will notify you when we finish.
By the way,
.setConsoleLogState(Feature.State.DISABLED)
is used for Enabling/disabling console log to be added to reports.
not for Enabling/disabling Instabug logging with the stack trace.
you can use

 Instabug.setDebugEnabled(false);

for that purpose.
Please let me know if there's anything more I can help you with.

@DevHossamHassan
Copy link
Contributor

DevHossamHassan commented Mar 2, 2017

Hey @rmtheis
We shipped a fix for this issue in v4.0.2 please check it out.
Thank you so much for your patience.

@rmtheis
Copy link
Author

rmtheis commented Mar 2, 2017

Thanks for the fix! It looks to me like it's working.

Closing this issue...

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

No branches or pull requests

2 participants