How to get mongodump --quiet to still report errors?

From: Ien Cheng <iencheng21@xxxxxxxxx>
To: mongodb-user <mongodb-user@xxxxxxxxxxxxxxxx>
Date: Sun, 8 May 2016 07:14:49 -0700 (PDT)
Why ads?
Hi all --

I'd like to run *mongodump* so that it only outputs errors (to avoid 
extraneous logwatch reporting for an automated nightly backup script). 

I've tried *mongodump --quiet* but from a quick test this supressess error 
messages also (e.g. running it at root folder without permission suppresses 
the "error creating directory" message that I get without `--quiet`, and). 

How do I get only error output from *mongodump*?

Thanks, Ien

-- 
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.

For other MongoDB technical support options, see: https://docs.mongodb.org/manual/support/
--- 
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+unsubscribe@xxxxxxxxxxxxxxxx.
To post to this group, send email to mongodb-user@xxxxxxxxxxxxxxxx.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/c2ad58ca-c5be-427d-be74-88ce5b2bb532%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Why ads?