mongo_log fixes

Seems wasteful needing to copy&paste the macro-to-string function.
Also, there is also a goto fail^W^Wmissing break causing all log types be written to stdout rather then split to sterr (errors/warnings/critical) and stdout ("notifications")