Merge "Turn off verbose logs and remove log that is covered by verbose logs." into nyc-dev
This commit is contained in:
@@ -1041,7 +1041,9 @@ public final class PrintSpoolerService extends Service {
|
|||||||
try {
|
try {
|
||||||
in = mStatePersistFile.openRead();
|
in = mStatePersistFile.openRead();
|
||||||
} catch (FileNotFoundException e) {
|
} catch (FileNotFoundException e) {
|
||||||
Log.i(LOG_TAG, "No existing print spooler state.");
|
if (DEBUG_PERSISTENCE) {
|
||||||
|
Log.d(LOG_TAG, "No existing print spooler state.");
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ import java.util.Set;
|
|||||||
public class StorageMeasurement {
|
public class StorageMeasurement {
|
||||||
private static final String TAG = "StorageMeasurement";
|
private static final String TAG = "StorageMeasurement";
|
||||||
|
|
||||||
private static final boolean LOCAL_LOGV = true;
|
private static final boolean LOCAL_LOGV = false;
|
||||||
static final boolean LOGV = LOCAL_LOGV && Log.isLoggable(TAG, Log.VERBOSE);
|
static final boolean LOGV = LOCAL_LOGV && Log.isLoggable(TAG, Log.VERBOSE);
|
||||||
|
|
||||||
private static final String DEFAULT_CONTAINER_PACKAGE = "com.android.defcontainer";
|
private static final String DEFAULT_CONTAINER_PACKAGE = "com.android.defcontainer";
|
||||||
|
|||||||
@@ -509,8 +509,6 @@ public class ApfFilter {
|
|||||||
mLastInstalledProgram = program;
|
mLastInstalledProgram = program;
|
||||||
if (VDBG) {
|
if (VDBG) {
|
||||||
hexDump("Installing filter: ", program, program.length);
|
hexDump("Installing filter: ", program, program.length);
|
||||||
} else {
|
|
||||||
Log.d(TAG, "Installing filter length=" + program.length);
|
|
||||||
}
|
}
|
||||||
mConnectivityService.pushApfProgramToNetwork(mNai, program);
|
mConnectivityService.pushApfProgramToNetwork(mNai, program);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ import java.util.concurrent.atomic.AtomicInteger;
|
|||||||
*/
|
*/
|
||||||
class NetworkStatsObservers {
|
class NetworkStatsObservers {
|
||||||
private static final String TAG = "NetworkStatsObservers";
|
private static final String TAG = "NetworkStatsObservers";
|
||||||
private static final boolean LOGV = true;
|
private static final boolean LOGV = false;
|
||||||
|
|
||||||
private static final long MIN_THRESHOLD_BYTES = 2 * MB_IN_BYTES;
|
private static final long MIN_THRESHOLD_BYTES = 2 * MB_IN_BYTES;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user