diff --git a/libraries/logger/logging-manager.js b/libraries/logger/logging-manager.js index 16c0154955..14e7cb2c35 100644 --- a/libraries/logger/logging-manager.js +++ b/libraries/logger/logging-manager.js @@ -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 } diff --git a/libraries/logger/test/unit/loggingManagerTests.js b/libraries/logger/test/unit/loggingManagerTests.js index 39ab807fac..f9532875ea 100644 --- a/libraries/logger/test/unit/loggingManagerTests.js +++ b/libraries/logger/test/unit/loggingManagerTests.js @@ -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)