tone logging down twisty
authorMark Hammond <mhammond@skippinet.com.au>
Fri, 20 Mar 2009 16:26:08 +1100
branchtwisty
changeset 109 67c16c20afc0730084a2c65d36073bb53144f896
parent 108 55279ec07fb24e5ba4b5af648622dd11c9d4ce34
child 110 20979788066de01860cf050a0d0c43498d640624
push id1
push userroot
push dateWed, 08 Apr 2009 01:46:05 +0000
tone logging down
server/python/junius/model.py
--- 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