You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Disabling warnings message in the console of emulators. #4939
Issue: Too many warning messages in the function emulator console that occur when requesting external network resources. In projects where external requests are constantly used, this greatly complicates the debugging process.
External network resource requested!
URL: "https://api.***"
Be careful, this may be a production service.
It would be very convenient if there was some parameter when starting emulators that would disable the output of certain types of notifications. Or maybe there is already some other way to do this?
Just in case. For now, you can turn off unnecessary notifications by the "surgical" method.
Find the file: find / -name emulatorLogger.js
Comment out the lines: // case "unidentified-network-access": // this.log("WARN", `External network resource requested!\n - URL: "${systemLog.data.href}"\n - Be careful, this may be a production service.`); // break;
Activity
icopp commentedon Jul 9, 2022
Same issue here. Part of my test environment is, itself, a remote system, making this warning completely pointless log spam.
a-b-kudinov commentedon Nov 30, 2022
Just in case. For now, you can turn off unnecessary notifications by the "surgical" method.
Find the file:
find / -name emulatorLogger.jsComment out the lines:
// case "unidentified-network-access":// this.log("WARN", `External network resource requested!\n - URL: "${systemLog.data.href}"\n - Be careful, this may be a production service.`);// break;