Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Logcat --------- beginning of system

I am troubleshooting a strange bug, and I'm seeing this in logcat right when the bad behavior occurs.

    --------- beginning of system

What does this mean? I haven't found any native crash logs, or any exceptions, nothing. Just this "beginning of system" line right at the exact time my app is bugging out.

like image 414
tyler Avatar asked Aug 30 '19 03:08

tyler


People also ask

How do you read Logcat?

The Logcat window in Android Studio displays system messages, such as when a garbage collection occurs, and messages that you added to your app with the Log class. It displays messages in real time and keeps a history so you can view older messages.

Where is Logcat stored?

Windows: C:\Users\[username]\AppData\Local\Android\sdk\platform-tools> adb logcat -G 32M; adb shell setprop persist. log. tag.

What is Logcat on my phone?

Logcat is a command-line tool that dumps a log of system messages, including stack traces when the device throws an error and messages that you have written from your app with the Log class. This page is about the command-line logcat tool, but you can also view log messages from the Logcat window in Android Studio.

How do I restart Logcat?

You need to press Alt + 6 twice to restart the Logcat. Restarting logcat often helps when it becomes irresponsive.


1 Answers

this issue is caused by firebase performance. You can find detailed information here: https://firebase.google.com/docs/perf-mon/get-started-android

my log record is as follows:

--------- beginning of system
--------- beginning of main
--------- beginning of crash
12-25 17:53:40.583 25281 25581 D FirebasePerformance: Creating a new Non Verbose Session: 34bf424qwe12312318ac831ad5459a
12-25 17:53:40.584 25081 25081 D FirebasePerformance: Creating a new Non Verbose Session: 642b3efweqwsafqweqa5a73e1befasadcb2e
12-25 17:53:50.872 25181 25881 D FirebasePerformance: onResume(): com.example.app.ui.splash.SplashScreen: 10309636 microseconds
12-25 17:54:27.026 25381 25501 I FirebasePerformance: Did not receive a HTTP Response Code
12-25 17:54:27.026 25081 25201 W FirebasePerformance: Unable to process the PerfMetric due to missing or invalid values. See earlier log statements for additional information on the specific missing/invalid values.

your mistake is like mine

like image 149
Görkem KARA Avatar answered Oct 02 '22 15:10

Görkem KARA