Skip to content

Conversation

@timyates
Copy link
Contributor

@timyates timyates commented Jun 4, 2024

In Micronaut 4, the request attributes changed for routing. This means that our request logger broke as it was looking for routeInfo on the "micronaut.http.route" attribute which no-longer exists.

This PR switches to use the new attribute to re-enable the logging, and introduces an order so we can capture security information.

After discussion, this logger is only enabled when the LOCAL environment is enabled.

In Micronaut 4, the request attributes changed for routing.
This means that our request logger broke as it was looking for routeInfo on the "micronaut.http.route" attribute which no-longer exists.

This PR switches to use the new attribute to re-enable the logging, and introduces an order so we can capture security information.

After discussion, this logger is only enabled when the LOCAL environment is enabled.
@timyates timyates added bug Something isn't working server labels Jun 4, 2024
@timyates timyates self-assigned this Jun 4, 2024
@timyates timyates requested review from mjperry91 and mkimberlin June 4, 2024 15:03
@mkimberlin mkimberlin merged commit fb06930 into develop Jun 6, 2024
@mkimberlin mkimberlin deleted the bugfix-fix-logging-interceptor branch June 6, 2024 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working server

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants