Questions tagged [logging]

Logging is the process by which the system records what's going on - i.e. events, errors, warnings, and related information. Most apps provide details in log files, so the system logs help to debug problems.

Filter by
Sorted by
Tagged with
128
votes
5answers
582k views

How can I view and examine the Android log?

There is a lot of interesting stuff in the Android system log, that is helpful in many ways find root causes of problems identify misbehaving apps How can I view and examine the Android log?
20
votes
2answers
15k views

Dropbox app not installed, but there is log activity in /data/system/dropbox

I don't have Dropbox app installed nor DropBox account, but whilst checking log files I've found that there is a /data/system/dropbox directory with log files from, I think, the last time I rebooted ...
20
votes
2answers
35k views

Does android keep a log of when it starts?

I'm making a parental control/accountability app for android. It consists of a monitoring service that runs in the background and starts when the phone is booted. Unfortunately, I have found that ...
17
votes
7answers
11k views

How can I monitor and log data connection mode and rate, and log with location?

I would like to understand what connection type and theoretical data rate my phone is using for its data connection, and how it changes with different locations. I'm not looking for an actual data ...
17
votes
2answers
5k views

How to diagnose battery drain on Android device using logcat?

I have been facing a severe battery drain issue on my official Cyanogenmod custom ROM. After discussing it on community forums, it was suggested that I use logcat for troubleshooting the problem. ...
15
votes
3answers
122k views

Where are log files located on Android? [duplicate]

Possible Duplicate: How can I view and examine the Android log? My android (2.1) phone (a HTC Wildfire, if that matters) sometimes reboots without an apparent reason. Not extremely frequently, ...
14
votes
5answers
25k views

How can I record touches?

Is there an existing app I can install that will record my touch interactions in the background? I just saw this and it made me want to play around with my touch data to see what it looked like. ...
12
votes
2answers
44k views

Problems accessing message logs on Jelly Bean with aLogcat

Summary I have been having problems accessing the K9 log messages using aLogcat, see below for more details. What I would like to know is: Why are no log messages from K9 appearing in the aLogcat ...
10
votes
2answers
14k views

What is the format of Android's logs?

I'm trying to gather data about my phone by analyzing the log files in /dev/log. I'm specifically looking at /dev/log/main. I always thought that any sane log format would be plain text, yet these ...
10
votes
1answer
49k views

How can I get a LogCat? [duplicate]

Possible Duplicate: How can I view and examine the Android log? Sometimes I get asked for a LogCat. What is this? What is it supposed to do? How can I get it?
9
votes
7answers
29k views

Does access to logcat need root?

My device is already rooted, this is why I'm asking. Do you need root to monitor the logcat stream on the phone? If I ran the logcat command from within a Terminal on the phone, would that work?
9
votes
3answers
22k views

How can I access android log files on my Nexus 7 without root access?

Since aLogcat now no longer works with Jelly Bean, how can I access the system log files on my device without either root access or attaching it to a computer? I have tried using adb logcat from my ...
8
votes
3answers
39k views

What are these dumpstate logs?

So, these files were filling up my /data/logs directory, causing me to run out of storage space rapidly. What are they, why are there so many and how can I stop them clogging my storage? Screenshot (...
8
votes
1answer
317 views

LogCat shows exception in SyncProcessorQueue every 5 seconds

I just started noticing this in my Logcat, it seems like every 5 seconds I get this exception caught. Does anyone have any idea what app or part of the OS it could be? I can't imagine whatever this is ...
7
votes
4answers
91k views

Can I delete the log files on my device?

I'm currently developing on an Android 2.3.4 device. I've got root access to the file system, and I'm looking for the location of the system log files (like /var/log) so that I can delete them, but ...
7
votes
3answers
317 views

Is it possible to track what information on your phone an app is uploading?

If you are concerned about what information an app is sending about you (your privacy concerns) is there any way of tracking this? Can you see if an app is sending photos on your phone? Can you see if ...
7
votes
1answer
11k views

Where does Lollipop stores notification log?

Android 4.3 and above allows access to a list of historical notifications using the Settings widget. The scope of "historical" is limited to current session of Android and the list is populated with ...
7
votes
1answer
4k views

Which app sent the unauthorized texts?

Today I got an automated text from my wireless provider saying I'd gone over my text limit. This is odd because I send maybe 50 texts a month. When I logged into their customer site I found over 3000 ...
7
votes
1answer
281 views

Is there a way to save pop up alerts?

After every call/message, my service provider (airtel) displays a popup which has the last call cost and current balance. Is there a way I could log them automatically and have the latest balance ...
7
votes
1answer
67k views

List of purchased apps and app install/uninstall history log anywhere?

My device was damaged and since then I've had to order a hardware replacement. Given that all purchases and application installs/uninstalls via Google Play Store are carried out in connection with my ...
6
votes
3answers
33k views

Android device crash logs?

I've been having issues* with my Samsung Galaxy S4 (Rooted, Echoe rom, SCH-i545, 4.4.2) lately and have been trying to figure out why. Problem is, it seems like neither alogcat nor adb can show, that ...
6
votes
2answers
125k views

History of files sent over Bluetooth?

Does Android keep a history of the files sent via Bluetooth? I didn't see anything like that in the user interface (there's a log of received files, but not sent ones), but maybe there's a hidden log ...
6
votes
2answers
17k views

Analyzing packets in android

I want to analyze packets on my rooted Android mobile phone. What I did so far: I have installed shark for root and shark reader. I tried to sniff packets, but shark reader only shows RAW packet. What ...
6
votes
1answer
190 views

How can I log the start and stop connection with known WI-FI networks

At the end of a week , I would like to see a log for each connection with a (known) WI-FI network I made with my Galaxy phone. I automatically connect to different networks. It would be nice to see ...
5
votes
2answers
21k views

History of installed/uninstalled apps

I don't know if there is already a thread about this particular issue, but if so forgive me. I would like to know how can I see the date when I installed and uninstalled a certain app some time ago (...
5
votes
1answer
2k views

Is there a way to get detailed information on why an OTA update fails?

I'm trying to figure out why my OTA update is failing. I have unrooted my Droid Bionic, and did a factory reset. It starts to update, then reaches about a quarter of the way and stops. It just ...
5
votes
1answer
21k views

Debugging bootloop: Get an information log without ADB? Can an emulator help? [duplicate]

Possible Duplicate: Android boot-up messages for debugging? Related to this post I created: Does the Android emulator generate some sort of log file I can access if it crashes? I have been ...
5
votes
1answer
3k views

Android early boot console over usb

I'm trying to port newer kernel versions onto my Nexus S device. Most newer kernels panic very early on in the boot process. I would like to debug this. However, since the phone has been provided to ...
5
votes
1answer
5k views

Dev/Log's - login attempts and how to read the log?

My first post on here and hopefully a easy fun answer. I'm looking for the location for failed login attempts on the device - I've looked on the device and it seems the logs are located in /dev/log/?...
5
votes
1answer
211 views

How to prevent unwanted DBG_FMMDM spam from filling up your logcat buffers

I asked this question on Stack Overflow but was advised to ask it here. I am attempting to debug an error using logcat in Android Studio on my testing device, a Galaxy s9 plus running Pie. Suddenly I ...
5
votes
2answers
46k views

Samsung Galaxy S3 black screen and automatic reboots

I have a Samsung Galaxy S3, purchased on July 2012. Sometimes, when I press the power button, the screen keeps black. The button LEDs turn on, but nothing else happens, and I have to remove the ...
5
votes
1answer
2k views

Why is my Nvidia tablet looking for chinese servers(baidu.com)?

I am not sure if this is the right area for the question, or if it is even a big deal, but here i go. When using by Nvidia tablet to develop an app I realized that it was attempting to reach a server ...
4
votes
3answers
2k views

Is it possible to somehow understand from the logs what happened to the phone a month ago? Are there such logs?

I didn’t have access to my phone for a month, I’m afraid that I could have installed any software or hardware spyware. Is it possible to check it somehow by logs? Does the Android system keep logs for ...
4
votes
2answers
23k views

How to get current (foreground) activity name?

Hoi! I'm trying to make an automatic night mode for my phone using "Automate", but I can't find certain app activities. How do I get to know what activities are executed in the foreground at the ...
4
votes
1answer
6k views

How can I enable last_kmsg?

I'm trying to diagnose a random reboot on LineageOS 14. last_kmsg is not in /proc, nor it is in /sys/fs/pstore/console-ramoops. EDIT: ~# mount | grep PSTORE ~# mkdir /mnt/pstore && mount ...
4
votes
1answer
22k views

Where is the Android log file to see if app installed correctly? [duplicate]

Possible Duplicate: How can I view and examine the Android log? Where is the log file. Why not logs/system.log? I see a log using app but nothing about install information. Like failures to ...
4
votes
2answers
7k views

View LogCat from unrooted android device without computer assistance

Ever since Android 4.1's new security model, all LogCat viewers I've came across require root access. Even the LogCat viewer for the IDE I'm using (AIDE) won't work. Without rooting my device, or ...
4
votes
2answers
13k views

Read logs from recovery

I want to read logs of Android devices having stuck at the boot logo, but I don't have ADB access. Is it possible to read logs displayed by logcat in recovery by mounting /system partition?
4
votes
1answer
2k views

Does android save a log of its own IP addresses?

I have a Wifi network to which I connect at work. The IP address has always been DHCP, but today the DHCP server is down. If I can figure out what IP address I had, I can set it statically (after ...
4
votes
1answer
752 views

How to log and visualize resource usage stats (to identify resource hogs)?

I want to be able to collect up to, say, a couple of day's worth of resource usage statics for my android, at the resolution of individual apps, and ordered according to their shares of the resource. ...
4
votes
1answer
15k views

Does the Android emulator generate some sort of log file I can access if it crashes?

Let's say I am working with the Android emulator, and get it to run one of my custom images/custom kernels, and it gets stuck in a boot-loop or crashes after a little while in booting up, does it ...
4
votes
2answers
2k views

Something causes my phone to hang and reboot

This problem always happens after I restore my apps from Titanium Backup and move them to the SD card, regardless which ROM. However, I noticed that this problem has something to do with the SD card. ...
4
votes
0answers
1k views

Music playback stops randomly

I have bought the Xperia ZQ (Xperia ZL's alias in Brazil) C6503. I am experiencing a very annoying problem: from time to time the audio playback in any audio app just stops. If I hit play again it ...
4
votes
1answer
5k views

AbsListView on Samsung Galaxy's logcat running Android 4.3 JellyBean

I've been having an issue on my Galaxy S4 following the 4.3 update whereby it will occasionally reboot the phone then go into a reboot loop. If connected to a charge the loop will stop and the battery ...
3
votes
1answer
490 views

Wi-Fi Verbose logging fields

I've been trying to troubleshoot a Wi-Fi issue (with a specific network) and have Wi-Fi verbose logging on, but I can't find any documentation on what any of the fields in the network selection menu ...
3
votes
3answers
7k views

How do I increase the size of logcat buffers?

How do I increase the size of /dev/log/main by a factor of 10? My understanding is the log has a fixed size (16K?) and rolls over when that limit is reached. I'd like to find out what the log size is ...
3
votes
1answer
447 views

ConnectivityExtension: ConnectivityExt jar file not present

When using adb logcat to get debug messages from my phone, I get many of those lines: 04-23 18:16:51.085 1428 1951 W ConnectivityExtension: ConnectivityExt jar file not present 04-23 18:16:51.187 ...
3
votes
2answers
565 views

Android Log Output KINETO

On my T mobile G2 there is always a lot of action in my Log output that has the tag KINETO these are the two most common things it puts in there: ERROR/KINETO(9304): KLOG0C3- xmk_QueryOSQueue SDL ...
3
votes
1answer
1k views

Writing to /dev/log/main from command line

It is possible to write encoded messages into /dev/log/main and then see them in the adb logcat output. The command should be executable through adb from the host PC. Ideally, it should look like: ...
3
votes
1answer
210 views

Is there a program which will log each program I start on my Android device?

I am looking for a program that will count each start of a program on my Android device. Over time, you install quit a lot of programs. It would be nice to see how many times you actually start ...

1
2 3 4 5