Open maxdml opened 3 months ago
Today we can use KoaMiddleware
https://docs.dbos.dev/api-reference/decorators#koamiddleware to achieve this.
Yes but really not convenient and intuitive. It would be so much easier to configure the log level to debug and have these information available, than having to write a decorator, re build the app, etc
Today, it isn't possible to print the body or headers of an HTTP request, before they are parsed with DBOS HTTP handler wrappers. It would be very useful to enable this when
logLevel=debug
.Of course this needs a warning in the documentation: headers / body could contain secrets that should not be captured by the telemetry export infrastructure.