From 16eccf304e607684a7bc9be77ac9e59f6894dea8 Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Fri, 6 Sep 2019 08:29:44 -0700 Subject: [PATCH] Remove BugReporting extraData log Summary: We still include this info in real reports. We also still print the root tag when the app starts. This just removes the redbox "extra data" logging to console. It's noisy, especially on smaller apps in open source that only have one root tag and always empty props. Reviewed By: cpojer Differential Revision: D17226903 fbshipit-source-id: a702daaf3a02600fbe9038c46d294c3392953239 --- Libraries/BugReporting/BugReporting.js | 1 - 1 file changed, 1 deletion(-) diff --git a/Libraries/BugReporting/BugReporting.js b/Libraries/BugReporting/BugReporting.js index c4eaf60a78f..6b7f02bcb6a 100644 --- a/Libraries/BugReporting/BugReporting.js +++ b/Libraries/BugReporting/BugReporting.js @@ -122,7 +122,6 @@ class BugReporting { for (const [key, callback] of BugReporting._fileSources) { fileData[key] = callback(); } - infoLog('BugReporting extraData:', extraData); if (NativeBugReporting != null && NativeBugReporting.setExtraData != null) { NativeBugReporting.setExtraData(extraData, fileData);