mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-05 15:19:02 +02:00
Merge pull request #7906 from overleaf/em-downgrade-logs
Downgrade all INFO logs to DEBUG GitOrigin-RevId: 05ed582ef0721fcada059f0ad158565f50feca27
This commit is contained in:
@@ -127,10 +127,10 @@ const AdminController = {
|
||||
},
|
||||
|
||||
writeAllToMongo(req, res) {
|
||||
logger.log('writing all docs to mongo')
|
||||
logger.debug('writing all docs to mongo')
|
||||
Settings.mongo.writeAll = true
|
||||
return DocumentUpdaterHandler.flushAllDocsToMongo(function () {
|
||||
logger.log('all docs have been saved to mongo')
|
||||
logger.debug('all docs have been saved to mongo')
|
||||
return res.sendStatus(200)
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user