New issue
Advanced search Search tips

Issue 614066 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Feb 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug



Sign in to add a comment

Spammy logs from NetworkChangeNotifierAutoDetect in webview

Project Member Reported by torne@chromium.org, May 23 2016

Issue description

WebView logs in some apps are full of spammy messages:
5-21 21:57:45.058 11643 11643 D NetworkChangeNotifierAutoDetect: Network connectivity changed, type is: 6
05-21 21:57:45.065 11643 11643 D NetworkChangeNotifierAutoDetect: Network connectivity changed, type is: 6
05-21 21:57:45.069 29691 29691 D NetworkChangeNotifierAutoDetect: Network connectivity changed, type is: 6

Note that WebView cannot strip debug level logs and these all end up in the shipping product.

Can these be removed?
 

Comment 1 by mmenke@chromium.org, May 27 2016

Components: -Internals>Network Internals>Network>Connectivity
They can probably be removed, they're redundant with the VLOG statements of LoggingNetworkChangeObserver.
Project Member

Comment 3 by bugdroid1@chromium.org, Feb 15 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/3b2f56255b45fa7183f6048647b341db4b3fd50e

commit 3b2f56255b45fa7183f6048647b341db4b3fd50e
Author: timvolodine <timvolodine@chromium.org>
Date: Wed Feb 15 13:20:09 2017

[Android] Remove connectivity change logging from NetworkChangeNotifierAutoDetect.

Currently the java debug logs cannot be stripped out in webview and
hence this results in 'spammy' log every time the connectivity
changes.

BUG= 614066 

Review-Url: https://codereview.chromium.org/2021283002
Cr-Commit-Position: refs/heads/master@{#450683}

[modify] https://crrev.com/3b2f56255b45fa7183f6048647b341db4b3fd50e/net/android/java/src/org/chromium/net/NetworkChangeNotifierAutoDetect.java

Status: Fixed (was: Assigned)

Sign in to add a comment