The latest update to Google Play Services 7.3 makes GA's Logger
interface deprecated, and thus we cannot control the logging level from inside our app anymore.
This interface is deprecated.
Logger interface is deprecated. Use
adb shell setprop log.tag.GAv4 DEBUG
to enable debug logging for Google Analytics.
We used to have different settings per build type, using Logger.setLogLevel()
(the guide seems to be outdated): verbose for debug and error for release, so that our tracking information is available only to us during development.
Now with latest update, anyone who can run
adb shell setprop log.tag.GAv4 VERBOSE
will be able to see what we are sending to Google Analytics, or anyone can see what everyone else is logging (those who use 7.3).
Is there any way to avoid this?