Reputation: 13189
Maybe it's a dumb question but I couldn't find the solution.
The problem it's that I put logs
in all my Android app and it doesn't appear on the logcat
. I don't know why now they don't appear because some days ago they appeared normally.
I put the logs
like:
Log.d("prove", "this works");
And in the logcat just appears sentences like:
ACT-AM_ON_PAUSE_CALLED....
ACT-PAUSE_ACTIVITY_FINISHING....
ACT-AM_ON_RESUME_CALLED....
and similars. The ....
refers that the sentences are bigger (they show the activity that it's doing the proccess but I obviate to put here because they are too long).
What could be the problem? Maybe a configuration that has been changed? (I didn't change any configuration but maybe I missclick in some botton and change something by error).
Thanks in advance!
Upvotes: 0
Views: 133
Reputation: 461
Maybe it's a dumb answer, but are you sure, that you didn't change logging level (error, verbose etc.)? :)
Upvotes: 0
Reputation: 1136
maybe your logs are displayed on console but you can notice them because your console scroll logs so fast.
Please try use filters for logcat. Example:
adb logcat *:S prove:D
Will display only logs from tag "prove"
Such filters can be sets in configuration of the device which you use, set by adb.
Upvotes: 1