Merge pull request #7906 from overleaf/em-downgrade-logs

Downgrade all INFO logs to DEBUG

GitOrigin-RevId: 05ed582ef0721fcada059f0ad158565f50feca27
This commit is contained in:
Eric Mc Sween
2022-05-16 08:38:18 -04:00
committed by Copybot
parent efcb06f0df
commit e0d91eaa26
116 changed files with 487 additions and 423 deletions

View File

@@ -87,7 +87,7 @@ app.post('/pack', function (req, res, next) {
if (packWorker != null) {
return res.send('pack already running')
} else {
logger.log('running pack')
logger.debug('running pack')
packWorker = childProcess.fork(
Path.join(__dirname, '/app/js/PackWorker.js'),
[
@@ -97,7 +97,7 @@ app.post('/pack', function (req, res, next) {
]
)
packWorker.on('exit', function (code, signal) {
logger.log({ code, signal }, 'history auto pack exited')
logger.debug({ code, signal }, 'history auto pack exited')
return (packWorker = null)
})
return res.send('pack started')
@@ -142,7 +142,7 @@ if (!module.parent) {
'could not start track-changes server'
)
} else {
return logger.info(
return logger.debug(
`trackchanges starting up, listening on ${host}:${port}`
)
}