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
@@ -471,7 +471,7 @@ describe('AuthenticationController', function () {
})
it('should log the failed login', function () {
this.logger.log
this.logger.debug
.calledWith({ email: this.email.toLowerCase() }, 'failed log in')
.should.equal(true)
})
@@ -911,7 +911,7 @@ describe('AuthenticationController', function () {
})
it('should log out a message', function () {
this.logger.log
this.logger.debug
.calledWith(
{ url: this.url },
'user not logged in so redirecting to register page'
@@ -1417,7 +1417,7 @@ describe('AuthenticationController', function () {
})
it('should log the successful login', function () {
this.logger.log
this.logger.debug
.calledWith(
{ email: this.user.email, user_id: this.user._id.toString() },
'successful log in'