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

Logging

David Edwards edited this page Dec 21, 2016 · 1 revision

Logging is implemented within the framework using the SLF4J API. The framework components provide a couple of types of logging that can be turned on for diagnostic purposes:

  • Message trace - this records the passage of a message through the framework components from entry point to exit point, using the message ID from the metadata of the message wherever possible to allow separate log lines to be related. Output is at TRACE level.
  • JSON schema validation errors - these are logged at DEBUG level when an incoming message fails to validate against the relevant JSON schema.

Framework logging can be controlled by changing the logging level of the uk.gov.justice.services category.