Revert "turn down logging, use logger.info for less important data"

This reverts commit c5f91428e3c7702fbbd3ffd1ef7a772d513f33f2.
This commit is contained in:
Henry Oswald
2019-02-06 15:29:22 +00:00
parent 8d3fb729c5
commit 4e1a2c787c
14 changed files with 27 additions and 34 deletions

View File

@@ -12,7 +12,7 @@ describe "HttpController", ->
"./HistoryManager": @HistoryManager =
flushProjectChangesAsync: sinon.stub()
"./ProjectManager": @ProjectManager = {}
"logger-sharelatex" : @logger = { log: sinon.stub(), info: sinon.stub() }
"logger-sharelatex" : @logger = { log: sinon.stub() }
"./Metrics": @Metrics = {}
"./Errors" : Errors
@Metrics.Timer = class Timer
@@ -59,7 +59,7 @@ describe "HttpController", ->
.should.equal true
it "should log the request", ->
@logger.info
@logger.log
.calledWith(doc_id: @doc_id, project_id: @project_id, "getting doc via http")
.should.equal true
@@ -88,7 +88,7 @@ describe "HttpController", ->
.should.equal true
it "should log the request", ->
@logger.info
@logger.log
.calledWith(doc_id: @doc_id, project_id: @project_id, "getting doc via http")
.should.equal true
@@ -475,7 +475,7 @@ describe "HttpController", ->
.should.equal true
it "should log the request", ->
@logger.info
@logger.log
.calledWith({project_id: @project_id, exclude: []}, "getting docs via http")
.should.equal true