Skip to content

Commit 41da663

Browse files
committed
fix(android): use Rollbar.TAG in ConnectivityDetector to suppress SDK logs from telemetry
1 parent b47bc62 commit 41da663

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

rollbar-android/src/main/java/com/rollbar/android/notifier/sender/ConnectivityDetector.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
import android.net.NetworkInfo;
1414
import android.os.Bundle;
1515
import android.util.Log;
16+
import com.rollbar.android.Rollbar;
1617
import com.rollbar.notifier.util.ObjectsUtils;
1718

1819
import java.io.Closeable;
@@ -46,7 +47,7 @@ public void updateContext(Context androidContext) {
4647
String message = "This application is missing the " +
4748
"android.permission.ACCESS_NETWORK_STATE permission. The Rollbar notifier " +
4849
"will *not* be able to detect when the network is unavailable.";
49-
Log.w(ConnectivityDetector.class.getCanonicalName(), message);
50+
Log.w(Rollbar.TAG, message);
5051
}
5152
}
5253

0 commit comments

Comments
 (0)