--- a/server/python/junius/model.py
+++ b/server/python/junius/model.py
@@ -118,17 +118,17 @@ class DocumentModel(object):
assert 'type' not in doc, doc # we look after that!
doc['type'] = doc_type
assert 'raindrop_seq' not in doc, doc # we look after that!
doc['raindrop_seq'] = get_seq()
# save the document.
- logger.debug('create_raw_document saving doc %r: %s', docid, doc)
+ logger.debug('create_raw_document saving doc %r', docid)
return self.db.saveDoc(doc, docId=quote_id(docid),
).addCallback(self._cb_saved_document
).addErrback(self._cb_save_failed
)
def _cb_saved_document(self, result):
logger.debug("Saved document %s", result)
# XXX - now what?
@@ -139,17 +139,17 @@ class DocumentModel(object):
def create_ext_document(self, doc, ext, rootdocId):
assert '_id' not in doc, doc # We manage IDs for all but 'raw' docs.
assert 'raindrop_seq' not in doc, doc # we look after that!
doc['raindrop_seq'] = get_seq()
doc['type'] = ext
docid = quote_id(rootdocId + "!" + ext)
# save the document.
- logger.debug('saving extension document %r as %s', docid, doc)
+ logger.debug('saving extension document %r', docid)
return self.db.saveDoc(doc, docId=docid,
).addCallback(self._cb_saved_document
).addErrback(self._cb_save_failed
)
def get_last_ext_for_document(self, doc_id):
"""Given a base docid, find the most-recent extension to have run.
This will differ from the latest extension in the document chain if