Revert "turn down logging, use logger.info for less important data"

This reverts commit c5f91428e3c7702fbbd3ffd1ef7a772d513f33f2.
This commit is contained in:
Henry Oswald
2019-02-06 15:29:22 +00:00
parent 8d3fb729c5
commit 4e1a2c787c
14 changed files with 27 additions and 34 deletions
@@ -20,7 +20,7 @@ module.exports = ShareJsUpdateManager =
return model
applyUpdate: (project_id, doc_id, update, lines, version, callback = (error, updatedDocLines) ->) ->
logger.info project_id: project_id, doc_id: doc_id, update: update, "applying sharejs updates"
logger.log project_id: project_id, doc_id: doc_id, update: update, "applying sharejs updates"
jobs = []
# We could use a global model for all docs, but we're hitting issues with the
@@ -39,7 +39,7 @@ module.exports = ShareJsUpdateManager =
ShareJsUpdateManager._sendOp(project_id, doc_id, update)
else
return callback(error)
logger.info project_id: project_id, doc_id: doc_id, error: error, "applied update"
logger.log project_id: project_id, doc_id: doc_id, error: error, "applied update"
model.getSnapshot doc_key, (error, data) =>
return callback(error) if error?
docLines = data.snapshot.split(/\r\n|\n|\r/)