[go: up one dir, main page]

Page MenuHomePhabricator

MPIC: Add log messages to service layer
Closed, ResolvedPublic1 Estimated Story Points

Description

Description

At this time controller layer is logging any error/warning/success case properly and returning an appropriate response.

But the service layer, that has a deeper detail of what's being executed, is not logging too much and some errors or warnings are only shown through the frontend layer with less details than desired in the case we need debug something.

In order to be able to debug properly while dogfooding or testing MPIC we should log any success/warning/success case at service layer.

Acceptance criteria

  • We log any error/warning/success at service layer
  • We log any error/warning/success for actionApi.js
  • We log any error/warning/success for nocApi.js

Event Timeline

Sfaci renamed this task from MPIC: Add log messages when service layer throws an exception to MPIC: Add log messages to service layer.Jul 8 2024, 1:27 PM
Sfaci set the point value for this task to 1.Jul 8 2024, 6:16 PM

Change #1053339 had a related patch set uploaded (by Santiago Faci; author: Santiago Faci):

[operations/deployment-charts@master] Metrics Platform Instrument Configuration: Deploy v0.1.0 to staging

https://gerrit.wikimedia.org/r/1053339

Change #1053339 merged by jenkins-bot:

[operations/deployment-charts@master] Metrics Platform Instrument Configuration: Deploy v0.1.0 to staging

https://gerrit.wikimedia.org/r/1053339

Change #1053350 had a related patch set uploaded (by Santiago Faci; author: Santiago Faci):

[operations/deployment-charts@master] Metrics Platform Instrument Configuration: Deploy v0.1.0 to production

https://gerrit.wikimedia.org/r/1053350

Change #1053350 merged by jenkins-bot:

[operations/deployment-charts@master] Metrics Platform Instrument Configuration: Deploy v0.1.0 to production

https://gerrit.wikimedia.org/r/1053350