Questions tagged [android-logcat]

Logcat is the command to view and filter information from the Android logging system, but more often the name is used as a synonym for the Android logging system itself.

Logcat is the command to view and filter information from the Android logging system, but more often the name is used as a synonym for the Android logging system itself.

Logging information from Logcat is vital for diagnosing problems and debugging Android apps.

To retrieve information from logcat manually the Android Debug Bridge (ADB) command line tool is used. Alternatively the Eclipse IDE provides a logcat view in its Android DDMS perspective, that automatically retrieves logging information

Detailed information on the logcat command is available at the Android Developers API.

For non-developer questions, see the Android Enthusiasts StackExchange.

1085 questions
5
votes
1 answer

Filter application specific logs in adb logcat. (log tag, log message, pid, package name)

I'm taking logcat using this command: C:\abs\adb logcat >> "Testdata".txt This is collecting all logs happening on device. But I want to take only "Application specific" logs, can anyone please help me with that? I know we can create filter in DDMS…
Nan
  • 53
  • 1
  • 3
5
votes
1 answer

Eclipse: Logcat logs disappear very quickly. How to save at run-time? And Increase window buffer size?

I am taking android logs using Logcat in Eclipse. But, they disappear very quickly from the Logcat screen. Is there a way to either: increase the buffer size of the Logcat window, so that I can see the logs later on also as there would enough…
Sunny
  • 7,444
  • 22
  • 63
  • 104
5
votes
2 answers

Accessing LogCat from Android via Python

Is it possible to read information being sent over LogCat in python? I have a program that is written in java. Every draw frame it sends tag:"Fps: " message: number I would like this message to fire an event that I can catch in my python script so I…
user1501445
  • 95
  • 1
  • 1
  • 5
5
votes
2 answers

How to delete traces.txt

E/dalvikvm(5717): Unable to open stack trace file '/data/anr/traces.txt': Is a directory Regarding to this ErrorMessage in LogCat I would like to delete the traces.txt directory and create a file. Where can I find it?
Johannes Staehlin
  • 3,680
  • 7
  • 36
  • 50
5
votes
1 answer

Reading logcat on android from c#

I am looking into making a c# program that will read in the logcat output from an android device and read it in to the c# program. Initially it should do this while the phone is connected and it shouldn't require a specific app on the phone to be…
Boardy
  • 35,417
  • 104
  • 256
  • 447
5
votes
1 answer

Eclipse Logcat doesn't get update on the current filter (Android)

I have this annoying problem, that Im pretty sure happens to all of you too. I add a filter to the logacat in order to see message that belongs only to my application. The problem is that the logcat doesn't get updated while im in the current filter…
dor506
  • 5,246
  • 9
  • 44
  • 79
5
votes
1 answer

How to increase no of lines(log level) in Logcat

Possible Duplicate: Java / Android - How to print out a full stack trace? i am working on an android app. Sometimes it stops working and show force close error. when i view the logcat it shows 4 to 5 lines then says 15 more/ 11 more. i cannot…
Arif
  • 1,601
  • 2
  • 21
  • 34
5
votes
1 answer

"The real object has been deleted" in logcat

This question was previously asked Here, but not answered, And failed to find any article on the web that explains this issue. My app is working fine, but at some point when i startActivityForResult i see 3 logs of webcoreglue: The real object has…
eric.itzhak
  • 15,752
  • 26
  • 89
  • 142
5
votes
6 answers

For Eclipse, CCLog doesn't work. CCMessageBox works well

I'm using the latest code checked out from GitHub. (0.13.0 beta) I'm developing for Android with Eclipse. I did added *COCOS2D_DEBUG* in Android.mk. I checked and made sure that COCOS2D_DEBUG was indeed defined with the value of 1. Problem: CCLog…
Di Wu
  • 6,436
  • 3
  • 35
  • 51
4
votes
2 answers

How to add logcat to ACRA

I'm trying to add my logs in ACRA. I followed this link . There they have stated adb logcat -t 200 -v time This results to 200 lines of logcat with date, invocation time, priority/tag, and PID of the originating process. But i donno where to add…
shanmugamgsn
  • 820
  • 5
  • 16
  • 27
4
votes
1 answer

dropping 1 events on the floor

I'm getting the following warning message on logcat before the device restarts: 10-15 15:16:15.789: WARN/SensorService(110): dropping 1 events on the floor Does anyone know what does this message means and whether it has anything to do with…
ala
  • 7,070
  • 13
  • 47
  • 54
4
votes
1 answer

could not print log cat in my app on android

i am doing an app for print log cat information in a text view . i use the following code to do that. Log.e("msg1","message1"); Log.e("msg2","message2"); Log.e("msg3","message3"); try { String separator =…
M.A.Murali
  • 9,988
  • 36
  • 105
  • 182
4
votes
2 answers

Android Soundpool fails to play sound

I am having trouble with playing multiple sound effects using the SoundPool class. Basically I am making a real time game that involves the user tapping a bunch of objects on the screen. Whenever the player touches an object, I need to play the…
Dan
  • 842
  • 3
  • 17
  • 29
4
votes
2 answers

Logcat showing information 3 times on AVD

When using LogCat the logs are shown three times. Can anyone explain why this is happening? A sample of the Log: 04-24 15:45:30.443: INFO/dalvikvm(351): Debugger has detached; object registry had 1 entries 04-24 15:45:30.434: DEBUG/jdwp(351): JDWP…
Navigatron
  • 2,065
  • 6
  • 32
  • 61
4
votes
6 answers

Logcat data not displaying in the Log Tab of DDMS Eclipse

The log tab is visible in DDMS and I have been logging data using Log.v(...) for many a week now without any problems. Today, the log data is now longer being displayed in the Log window. Worked, then did a programming change to track a bug and…
LenseOnLife
  • 179
  • 1
  • 7
  • 16