How to use --excludeCollectionsWithPrefix in mongodump
I don't know squat about MongoDB but after reading the docs something like the following is probably what you're looking for:

mongodump  --db test --excludeCollectionsWithPrefix registry.logging