1
votes

i am using android studio. and i edited the logcat messages so that only logs fom the App to be displayed. but at run time i find that the logact displays my logs and system log as well as shown in the following example:

11-03 09:45:39.061  12724-12931/? W/CSPPCtrl﹕ >>[rfcConnect()]<<//my log
11-03 09:45:39.061  12724-12931/? I/CSPPCtrl﹕ ->[rfcConnect()]-> rfcSocket socket connecting..//my log
11-03 09:45:39.065  12724-12931/? W/BluetoothAdapter﹕ getBluetoothService() called with no BluetoothManagerCallback//system log
11-03 09:45:39.068    1968-2103/? D/BTIF_SOCK﹕ service_uuid: 0000110a-0000-1000-8000-00805f9b34fb//system log
11-03 09:45:39.197    1968-2130/? W/bt-sdp﹕ process_service_search_attr_rsp//system log
11-03 09:45:39.229    1968-2130/? E/bt-btif﹕ DISCOVERY_COMP_EVT slot id:9, failed to find channle,//system log

and i edited the logcat filter as shown in the image below enter image description here

please let me know why the logcat still showing the system logs

4

4 Answers

0
votes

Above your "logcat" tab there should be 2 lists. One of them will contain your phone and the other list running apps. Make sure your app is chosen there.

enter image description here

0
votes

all

right

right

error

Make sure u have choice the filter.

right : 2,3;

error : 4;

0
votes

Try this:

Edit Configurations >> Run/Debug Configurations

On the RIGHT corner

If you're using Intellij you'll see a Logcat tab

For Android Studio user it's Miscellaneous

Uncheck following options:

Show logcat automatically
Filter to only show output from this application
Clear log before launch

And you ready to go

0
votes

I found it..to have you App listed in android monitor, the option in

Tools->Android->Enable ADB Integration 

must be checked first