mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-23 10:31:10 +00:00
Remove debug logs
This commit is contained in:
parent
02356c7f27
commit
0a15fedb34
2 changed files with 0 additions and 6 deletions
|
@ -69,17 +69,12 @@ async checkLogLevelMetadata() {
|
|||
const res = await fetch(uri,options)
|
||||
if (!res.ok) throw new Error("Metadata not okay")
|
||||
const body = await res.text()
|
||||
console.log("About to parse Int", body)
|
||||
if (parseInt(body) > Date.now()) {
|
||||
console.log("About to set logger level to trace")
|
||||
console.log(this.logger)
|
||||
this.logger.level('trace')
|
||||
} else {
|
||||
console.log("About to set logger level to default")
|
||||
this.logger.level(this.defaultLevel)
|
||||
}
|
||||
} catch (err) {
|
||||
console.log("ERROR: About to set logger level to default")
|
||||
this.logger.level(this.defaultLevel)
|
||||
return
|
||||
}
|
||||
|
|
|
@ -446,7 +446,6 @@ describe('LoggingManager', function () {
|
|||
beforeEach(async function() {
|
||||
this.bunyanLogger.level.returns(10)
|
||||
//this.Request.yields(null, { statusCode: 200 }, this.start + 1000)
|
||||
console.log("In test ", this.start + 1000)
|
||||
this.fetchResponse.text = sinon.stub().resolves(this.start + 1000)
|
||||
//this.Fetch = sinon.stub().resolves(this.fetchResponse)
|
||||
|
||||
|
|
Loading…
Reference in a new issue