backport android logger updates from AOSP android-3.4 kernel