Skip to content

Review Web Validator's logging in Sentry #1507

@davidgamez

Description

@davidgamez

Description

The web validator generates a good amount of logs for Sentry. In an initial investigation, some of the errors generated as "expected" situations or use cases that the severity can be lower than ERROR. Example,

logger.error("Error could not load remote file, using default country code", exc);

Aceptance criteria

  • Only send error logs to the sentry and allow adjustment of the severity levels to be sent when required.
  • Enhance log information by adding context to the events registered in Sentry.
  • Ignore logs generated as part of the Java test suite.
  • Ignore logging generated by "expected" situations

Metadata

Metadata

Assignees

Labels

efficiencyUsed for efficiency-related issues (remove code duplication, refactor, etc).status: ReadyAn issue that is ready to be worked on.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions