r/tasker • u/binomat • 25d ago
Help [HELP]LOGCAT profile query
Tasker Logcat profile for the OnePlus Nord 5 Action Key Up and down is set up and it works - but stops working randomly . Opening and closing the profile in Tasker temporarily fixes it, but the issue always returns. Any clues on this ?
Tasker is battery exempted and locked in memory - Enabled the System buffer size to 16M to ensure logs are not overflowing .(Shizuku enabled and every time ensure that ADB Wifi log cat is enabled on every display on event)
1
Upvotes
2
u/DylanXu054728 25d ago
My guess is the logcat reader behind the event is dying, not your filter. Tasker streams logcat through a long-running process, and that stream ends silently if logd rotates or clears the buffer, or if the process gets reaped when the screen goes off. Re-opening the profile restarts the reader, which matches what you're seeing. Battery exemption and a bigger buffer don't help much if the stream itself gets cut.
Things I'd try:
I'm not sure whether OxygenOS clears logs on its own on the Nord 5, so treat that part as a guess. Also check that the READ_LOGS permission is still granted after a Tasker update or reinstall.
1
u/DutchOfBurdock 25d ago
You need to Disable child process restrictions (Developer Menu on your device). Tasker spawns the logcat binary in Android, which would be a native child process and Android will kill it after a short time. This is the same setting that breaks Termux with Exit 9.