From dd627edae4c4273ecb5dd616e23bdc846eabd09b Mon Sep 17 00:00:00 2001 From: David Baumgold Date: Wed, 29 Jan 2014 16:57:23 -0500 Subject: [PATCH] add logging for auditing when split-mongo courses are deleted --- common/lib/xmodule/xmodule/modulestore/split_mongo/split.py | 1 + 1 file changed, 1 insertion(+) diff --git a/common/lib/xmodule/xmodule/modulestore/split_mongo/split.py b/common/lib/xmodule/xmodule/modulestore/split_mongo/split.py index 5f5f047f1b..279002e473 100644 --- a/common/lib/xmodule/xmodule/modulestore/split_mongo/split.py +++ b/common/lib/xmodule/xmodule/modulestore/split_mongo/split.py @@ -1284,6 +1284,7 @@ class SplitMongoModuleStore(ModuleStoreWriteBase): if index is None: raise ItemNotFoundError(package_id) # this is the only real delete in the system. should it do something else? + log.info("deleting course from split-mongo: %s", package_id) self.db_connection.delete_course_index(index['_id']) def get_errored_courses(self):