Problem: Logging all the http request and response that is coming to Jetty Server
Prerequisite: Configure logback as your logging frame work
Solution:
Refer variables fullRequest and fullResponse in your logback-access.xml
Snippet
Prerequisite: Configure logback as your logging frame work
Solution:
Refer variables fullRequest and fullResponse in your logback-access.xml
Snippet
${OPENSHIFT_SPRINGJETTYONODE_DIR}/logs/access.log logs/access-%i.log.gz 1 3 20MB %fullRequest%n%n%fullResponse
This comment has been removed by the author.
ReplyDelete