Make the use of SAL_LOG=+WARN+INFO optional

Change-Id: I6af17a7745f4de88b4933e93b77eda1050760794
This commit is contained in:
Tor Lillqvist 2013-04-18 17:25:06 +03:00
parent 9e7c73d54c
commit 41d6003e87

View File

@ -68,7 +68,12 @@ public class Desktop
Bootstrap.setup(this);
Bootstrap.putenv("SAL_LOG=+WARN+INFO");
// To enable the putenv below, which turns on all SAL_INFO
// logging, do: "adb shell setprop log.tag.LODesktopLogging
// VERBOSE".
if (Log.isLoggable("LODesktopLogging", Log.VERBOSE))
Bootstrap.putenv("SAL_LOG=+WARN+INFO");
}
// This sucks, we need to experiment and think, can an app process