Skip to content

lmonkiewicz/spring-boot-mvc-http-logging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published