gtfs-validator icon indicating copy to clipboard operation
gtfs-validator copied to clipboard

Review Web Validator's logging in Sentry

Open davidgamez opened this issue 1 year ago • 0 comments

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, https://github.com/MobilityData/gtfs-validator/blob/b3d14cb13395faccef870a6b4a12c7b0ca045e78/web/service/src/main/java/org/mobilitydata/gtfsvalidator/web/service/util/StorageHelper.java#L89

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

davidgamez avatar Jun 19 '23 16:06 davidgamez