Poojan
Poojan

Reputation: 3332

Can I execute logcat on the mobile phone itself by issung a command in the shell?

How can I see timestamp in Logcat? Is there any application which shows me the log along with the timestamp? Also, how can I increase the size of the Log in andriod phone?

Upvotes: 3

Views: 3373

Answers (2)

Ted Hopp
Ted Hopp

Reputation: 234795

There are several free logcat viewers for Android. I've heard that aLogCat is pretty good.

EDIT

You can set your preferences in aLogCat to see the time.

Regarding your second question, I found an answer here:

The logs are held by a kernel device; the entries are in /dev/log. The buffer is currently 64KB, and there is no way to change the size on a production device.

The easiest way to keep more of the log is to run "logcat" and send the output to a file. logcat runs on the device, so you could run it there and redirect it to (say) /sdcard/log.txt.

Upvotes: 3

chrisdowney
chrisdowney

Reputation: 1558

To get timestamps: logcat -v time

To run logcat on the device at a shell prompt: logcat

Upvotes: 4

Related Questions