mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-31 12:51:35 +02:00
Revert "turn down logging, use logger.info for less important data"
This reverts commit c5f91428e3c7702fbbd3ffd1ef7a772d513f33f2.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user