You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
One of my teams asked if my team could develop
a logbook strategy that would log requests
and responses in the same log message.
Example:
>> INCOMING >> AFTER REQUEST
Request: GET /api/endpoint?parameter=allegro-pl
Body: <empty body>
Response: Status 200, took 5 ms
Body: {"works":true}
I can think of some potential problems (but this library solves some) BUT I wanted to know your opinion as maintainers! Did you thought about such feature? Or maybe I missed that this feature is actually supported? :)
The text was updated successfully, but these errors were encountered:
Hey @bgalek, what you want to achieve is possible to do via a custom Sink implementation, that would write the log only when void write(Correlation correlation, HttpRequest, HttpResponse response) is called. See CommonsLogFormatSink as an example.
Hi!
One of my teams asked if my team could develop
a logbook strategy that would log requests
and responses in the same log message.
Example:
I can think of some potential problems (but this library solves some) BUT I wanted to know your opinion as maintainers! Did you thought about such feature? Or maybe I missed that this feature is actually supported? :)
The text was updated successfully, but these errors were encountered: