Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to prevent timestamps in logcats in Android Studio from being stripped?

When looking at logcats in Android Studio 3.1, sometimes the "metadata" portion of some log lines are omitted. For example, the leading portion gets removed, which might look like:

06-06 17:55:39.364 9929-9945/com.ttm.zapp I/com.ttm.zapp:

Everything that follows that prefixed data in the log line is printed, however. See the image below for a better example.

enter image description here

Is this a bug? And if not, is there a way to disable this (what appears to be) "grouping" behavior?

like image 894
void.pointer Avatar asked Jun 06 '18 17:06

void.pointer


1 Answers

The grouped log statements are printed at the same timestamp. If you type adb logcat into the terminal, you can see the formatted logs there.

That being said, there is an issue being tracked on Android Studio here to make this logcat behavior a configurable option.

like image 101
A. Nguyen Avatar answered Oct 13 '22 13:10

A. Nguyen