   field_save = (field,event,next) ->
     db.get event._id, (err,doc) ->
       if err
-        console.error err
+        logger err
         return next false
 
       doc[field] = event[field]

  delta_save = (event,next) ->
    db.get event._id, (err,doc) ->
      if err
        console.error err
        return next false

      doc.start = moment(event.start).format()


        start_replication url

    logger 'Started'
