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
I am currently trying to integrate Logbook with my Micronaut project. In my first attempt I was following this guide. This approach was working fine until I tried to retrieve @RequestScope bean value for conditional logging. Micronut currently doesn't provide options how to get request context inside Netty channel handlers (see discussion).
To avoid this issue I would suggest to implement Micronaut integration module based on @ClientFilter & @ServerFilter.
Possible Implementation
There is an initial idea which I was playing around for @ClientFilter:
In order to prioritize the support for Logbook, we would like to check whether the old issues are still relevant.
This issue has not been updated for over six months.
Please check if it is still relevant in latest version of the Logbook.
If so, please add a descriptive comment to keep the issue open.
Otherwise, the issue will automatically be closed after a week.
This issue has automatically been closed due to no activities. If the issue still exists in the latest version of the Logbook, please feel free to re-open it.
Detailed Description
I am currently trying to integrate Logbook with my Micronaut project. In my first attempt I was following this guide. This approach was working fine until I tried to retrieve
@RequestScope
bean value for conditional logging. Micronut currently doesn't provide options how to get request context inside Netty channel handlers (see discussion).To avoid this issue I would suggest to implement Micronaut integration module based on
@ClientFilter
&@ServerFilter
.Possible Implementation
There is an initial idea which I was playing around for
@ClientFilter
:Similar for
@ServerFilter
:And Logbook bean which use RequestScope bean to decide if Logbook should log request/responses:
Your Environment
The text was updated successfully, but these errors were encountered: