lmonkiewicz / spring-boot-mvc-http-logging

Example of HTTP traffic logging

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spring-boot-mvc-http-logging

Example of Spring MVC RestControllers and RestTemplates HTTP traffic logging, with tests configured as Spring WebMvcTest and integration test configured to run on deployed application on Tomcat 8 using cargo plugin, and tested with REST-assured.

Logs can be found in tomcat /logs/logFile.log and in /target/cargo-tomcat-logs/container.log

How to run

As standard spring-boot app:

mvn clean install spring-boot:run

For war deployment using cargo with tomcat8x container, use:

mvn clean install cargo:run

About

Example of HTTP traffic logging


Languages

Language:Java 38.5%Language:Shell 36.0%Language:Batchfile 25.5%