logging clean up in datastore
implemented mongodb schema store