Skip to content

v1.3.7

Latest

Choose a tag to compare

@jrCleber jrCleber released this 15 May 12:56
· 9 commits to main since this release

Changes Implemented

  • Added Pino for application log management.
  • Support for console log output during development/debugging.
  • Support for persisting logs as JSON files in the following directory:
/logs/recorte
  • When running with containers, it is recommended to use a volume for log file persistence.

Related Commit

  • feat: add structured logging with pino 0a603a1

Request ID Middleware

Added a middleware responsible for generating and propagating the following header:

x-request-id

Behavior

  • If the request does not contain an x-request-id, a UUID is automatically generated.
  • The same identifier is returned in the response headers.
  • Improves request tracing and log correlation across the application.

Related Commit

  • feat: add request id middleware for request tracing 3850bb2