Remove debug logs

This commit is contained in:
Christopher Hoskin
2020-07-24 09:12:59 +01:00
parent 02356c7f27
commit 0a15fedb34
2 changed files with 0 additions and 6 deletions
-5
View File
@@ -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
}