Open wanam opened 9 years ago
Meanwhile, this function does nothing more than Log.i("Xposed", text)
, or Log.e("Xposed", Log.getStackTraceString(t))
. If this doesn't end up in the logcat, I would be very surprised and don't know where to start looking for the issue.
Did you check the logcat manually? It might also be an issue with reading the logcat and writing it to the logfile, like #34 was. In that case, it would also be worth checking whether the working logging is actually done from the same processes and not in Zygote or something.
Actually I didn't check the logcat, but i guess it's the same issue as https://github.com/rovo89/Xposed/issues/34 , the fix you introduced there fixed tw one too.
I will check the logcat to confirm if it's a reading issue.
After various tests, i can confirm that this issue occurs only on the first boot (after flashing a Rom/Xposed) and i can also confirm it's writing correctly to the logcat all the time
But like the https://github.com/rovo89/Xposed/issues/34 it is logging to xposed logcat only during boot, and it stops writing logs later.
And to rectify the title, i think it should stop logging for both cases, inside and outside the XC_Callback, i tough it was only inside the XC_Callback because my outside log test case was fired during boot.
Update 01/12/2015: https://github.com/rovo89/Xposed/issues/94#issuecomment-160933938
I remember you fixed an xposed logcat issue https://github.com/rovo89/Xposed/issues/34 for Samsung TW and maybe others.
I just noticed that i cannot write any logs through "XposedBridge.log()" inside any XC_Callback, logs outside are working just fine (thrown exceptions for example).
I'm not sure if this was the case for the beginning or just a new SeLinux update introduced on the latest TW 5.1.1 Roms.
But changing the group ID of the process to AID_LOG seems to work fine.