Adding logging to mongo backup.