mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
improve logging
This commit is contained in:
parent
088ab6e7ba
commit
fc6ef6ea7a
2 changed files with 2 additions and 2 deletions
|
@ -174,7 +174,7 @@ module.exports = HttpController =
|
|||
project_id = req.params.project_id
|
||||
{docs, files} = req.body
|
||||
|
||||
logger.log {project_id}, "queuing project history resync via http"
|
||||
logger.log {project_id, docs, files}, "queuing project history resync via http"
|
||||
HistoryManager.resyncProjectHistory project_id, docs, files, (error) ->
|
||||
return next(error) if error?
|
||||
logger.log {project_id}, "queued project history resync via http"
|
||||
|
|
|
@ -331,7 +331,7 @@ module.exports = RedisManager =
|
|||
rclient.rpush projectHistoryKeys.projectHistoryOps({project_id}), jsonUpdate, callback
|
||||
|
||||
queueResyncDocContent: (project_id, doc_id, lines, version, pathname, callback) ->
|
||||
logger.log {project_id, doc_id, pathname}, "queue doc content resync"
|
||||
logger.log {project_id, doc_id, lines, version, pathname}, "queue doc content resync"
|
||||
update =
|
||||
resyncDocContent:
|
||||
content: lines.join("\n"),
|
||||
|
|
Loading…
Reference in a new issue