Skip to content
This repository was archived by the owner on Aug 13, 2020. It is now read-only.
This repository was archived by the owner on Aug 13, 2020. It is now read-only.

Reduce logging level for validating without Schema Catalog #607

@jgraham0325

Description

@jgraham0325

Enhancement Request:
Reduce the logging level for not using schema catalog for validation since it's making logs very difficult to read.

Class:: uk.gov.justice.services.core.json.FileBasedJsonSchemaValidator#validateWithoutSchemaCatalog

Example of current logs (1000s of entries):
2018-05-16 12:16:23,144 INFO [uk.gov.justice.services.core.json.FileBasedJsonSchemaValidator] (Thread-11 (ActiveMQ-client-global-threads-1842456363)) [{"serviceContext":"mireportdata-usersgroups-event-listener","metadata":{"context":{"user":"7a04cabb-102a-4737-9ae1-a703dcf62cff"},"id":"12e70316-522b-4c12-9bd3-d805075c0e6c","name":"usersgroups.user-details-changed","causation":["84d79669-68fe-4824-90f3-d022cd3a86a7"],"createdAt":"2018-05-16T12:16:22.954Z","stream":{"id":"7aee5dea-b0de-4604-b49b-86c7788cfc4b","version":2}}}] Falling back to file based schema lookup, no catalog schema found for: usersgroups.user-details-changed

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions