1

Is there anyway to Override a Log message that's built into default implementation? Its just that in a ListView, there's this annoying Log that continuously gets called as you scroll through the ListView:

Time                    Tag                              Text
...                     ...                              ...
05-18 21:20:46.095:     AbsListView(2752):               unregisterIRListener() is called 
05-18 21:20:46.185:     AbsListView(2752):               unregisterIRListener() is called 
05-18 21:20:46.325:     AbsListView(2752):               unregisterIRListener() is called 
05-18 21:20:46.405:     AbsListView(2752):               unregisterIRListener() is called 
05-18 21:20:46.526:     AbsListView(2752):               unregisterIRListener() is called 
05-18 21:20:46.606:     AbsListView(2752):               unregisterIRListener() is called 
05-18 21:20:58.879:     AbsListView(2752):               unregisterIRListener() is called 
05-18 21:20:58.989:     IInputConnectionWrapper(2752):   showStatusIcon on inactive InputConnection
05-18 21:20:59.209:     AbsListView(2752):               onDetachedFromWindow
05-18 21:20:59.209:     FragmentPhotoGallery(2752):      Background thread destroyed

I'm thinking that the solution would be to find the method that its called in and Override it, leaving the Log.d() call out. Does anyone have any experience on this kind of thing?

ChrisMcJava
  • 2,145
  • 5
  • 25
  • 33
  • Possible duplicate of [How to exclude certain messages by TAG name using Android adb logcat?](http://stackoverflow.com/questions/5511433/how-to-exclude-certain-messages-by-tag-name-using-android-adb-logcat) – TWiStErRob Mar 21 '16 at 16:57

1 Answers1

1

Click "eclipse logging configuration document"!

But AFAIK you can totally turn it off, or set filter level to info, error, debug, warning...

There is no way to stop a specific set of errors from getting logged unless that is one of your own class and you could remove the logger code in it.

LokiDroid
  • 972
  • 10
  • 22