Merge pull request #5159 from overleaf/bg-docupdater-log-relevelling

docupdater log re-levelling

GitOrigin-RevId: c27478d48f1cb1eae022086fe7af9fe55dfacfa0
This commit is contained in:
Brian Gough
2021-10-01 08:03:04 +00:00
committed by Copybot
parent 4b6fcd644d
commit 2cd7b615bf
23 changed files with 181 additions and 176 deletions
@@ -47,7 +47,7 @@ function flushProjectWithLocks(projectId, _callback) {
})
})
logger.log({ projectId, docIds }, 'flushing docs')
logger.debug({ projectId, docIds }, 'flushing docs')
async.series(jobs, () => {
if (errors.length > 0) {
callback(new Error('Errors flushing docs. See log for details'))
@@ -82,7 +82,7 @@ function flushAndDeleteProjectWithLocks(projectId, options, _callback) {
})
})
logger.log({ projectId, docIds }, 'deleting docs')
logger.debug({ projectId, docIds }, 'deleting docs')
async.series(jobs, () =>
// When deleting the project here we want to ensure that project
// history is completely flushed because the project may be