Different logging formats are used between the chi logging middleware, GORM, and temporal. All of these packages accept a custom logger implementation, so it should be fairly simple to consolidate the loggers to allow for both JSON and readable logs.
Requirements
Pass Hatchet logger to:
GORM
Chi logging middleware (might have to write custom logging middleware)
Temporal
Make sure debug log level is respected (particularly by GORM)
Print stack traces on error logs
Update logging implementation to generate readable logs for testing/development
Location
hatchet-server
hatchet-runner
hatchet-runner-worker
hatchet-temporal
Motivation
Different logging formats are used between the chi logging middleware, GORM, and temporal. All of these packages accept a custom logger implementation, so it should be fairly simple to consolidate the loggers to allow for both JSON and readable logs.
Requirements
debug
log level is respected (particularly by GORM)error
logsAdditional Details