node-firestore-import-export icon indicating copy to clipboard operation
node-firestore-import-export copied to clipboard

Optionally mute console.log

Open shaneosullivan opened this issue 6 years ago • 1 comments

Expected behavior

Only error logs show to the console

Actual behavior

Every action prints to the console

Steps to reproduce the behavior

Simply run the code. It results in console.log() calls being made when retrieving documents from each collection. This results in a lot of log/terminal spam that is not useful.

Can there at minimum be a setting to disable all console logging other than errors, or perhaps just remove the informational console.log() statements?

shaneosullivan avatar Aug 01 '18 21:08 shaneosullivan

That's a good idea. For now, you can probably append something like &> /dev/null to the command, but I'll look into a mute option and/or tweaking the log statements.

jloosli avatar Aug 08 '18 17:08 jloosli