How to add support for IP logging in a Grails Rest Profile #215
-
I am wondering what would be the right approach to add the IP of the request in a REST service that is making use of Audit Logging. |
Beta Was this translation helpful? Give feedback.
Answered by
robertoschwald
Jul 9, 2021
Replies: 1 comment
-
You could use a AuditRequestResolver to get any info about IP, user id, etc. See https://symentis.github.io/grails-audit-logging-plugin/4.0.x/plugin.html#audit-request-resolvers |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
robertoschwald
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You could use a AuditRequestResolver to get any info about IP, user id, etc. See https://symentis.github.io/grails-audit-logging-plugin/4.0.x/plugin.html#audit-request-resolvers