Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to stop this constant stream of logs in webview screen?

D/BufferQueueProducer(30418): [SurfaceTexture-0-30418-0](this:0x94f72000,id:0,api:1,p:392,c:30418) cancelBuffer: slot 2

D/BufferQueueProducer(30418): SurfaceTexture-0-30418-0 cancelBuffer: slot 0 D/BufferQueueProducer(30418): SurfaceTexture-0-30418-0 cancelBuffer: slot 2 D/BufferQueueProducer(30418): SurfaceTexture-0-30418-0 cancelBuffer: slot 0 D/BufferQueueProducer(30418): SurfaceTexture-0-30418-0 cancelBuffer: slot 2 D/BufferQueueProducer(30418): SurfaceTexture-0-30418-0 cancelBuffer: slot 0 D/BufferQueueProducer(30418): SurfaceTexture-0-30418-0 cancelBuffer: slot 2 D/BufferQueueProducer(30418): SurfaceTexture-0-30418-0 cancelBuffer: slot 0 D/BufferQueueProducer(30418): SurfaceTexture-0-30418-0 cancelBuffer: slot 2 D/BufferQueueProducer(30418): SurfaceTexture-0-30418-0 cancelBuffer: slot 0 D/BufferQueueProducer(30418): SurfaceTexture-0-30418-0 cancelBuffer: slot 2 D/BufferQueueProducer(30418): SurfaceTexture-0-30418-0 cancelBuffer: slot 0 D/BufferQueueProducer(30418): SurfaceTexture-0-30418-0 cancelBuffer: slot 2

I'm getting the constant stream of the above-mentioned log as soon as webview activity is loaded. This stream is annoying and I'm unable to see my own logs. How to stop them or at least filter them? I'm using visual studio code.

like image 843
Amarjeet Singh Avatar asked Sep 12 '19 06:09

Amarjeet Singh


2 Answers

In my case I run an ads on my app and it seems like I can not turn off the ads log. I think it's because the way the ads work by refreshing it's content, therefore I comment my code that run the ads and the constant stream disappeared. Maybe it can works on your case as well

like image 93
Wisnu Wijokangko Avatar answered Oct 10 '22 07:10

Wisnu Wijokangko


Quick hack is to type !BufferQueueProducer in the search field of the debug console, this way any log message contains the word BufferQueueProducer* will be exclude.

like image 33
joe_inz Avatar answered Oct 10 '22 06:10

joe_inz