Reduce spammy FUSE logs
Moved lookup and access requests to verbose
Moved libfuse logs to a 'libfuse' log_tag
Test: adb shell setprop log.tag DEBUG is not noisy
Test: adb shell setprop log.tag.[FuseDaemon|libfuse] VERBOSE logs all
Bug: 135341433
Change-Id: Ifa4a8f88aa56190f16a49e6f33affb04cd0dbe02
diff --git a/logging.sh b/logging.sh
index 3a11df2..43f0d86 100755
--- a/logging.sh
+++ b/logging.sh
@@ -6,16 +6,24 @@
then
adb shell setprop log.tag.MediaProvider VERBOSE
adb shell setprop log.tag.ModernMediaScanner VERBOSE
+ adb shell setprop log.tag.FuseDaemon DEBUG
+ adb shell setprop log.tag.libfuse DEBUG
else
adb shell setprop log.tag.MediaProvider INFO
adb shell setprop log.tag.ModernMediaScanner INFO
+ adb shell setprop log.tag.FuseDaemon INFO
+ adb shell setprop log.tag.libfuse INFO
fi
if [ $level == "extreme" ]
then
adb shell setprop log.tag.SQLiteQueryBuilder VERBOSE
+ adb shell setprop log.tag.FuseDaemon VERBOSE
+ adb shell setprop log.tag.libfuse VERBOSE
else
adb shell setprop log.tag.SQLiteQueryBuilder INFO
+ adb shell setprop log.tag.FuseDaemon INFO
+ adb shell setprop log.tag.libfuse INFO
fi
# Kill process to kick new settings into place