You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Spring MVC Test framework has always supported printing debug information about the MvcResult to System.out; however, there is currently not a mechanism for choosing a different output stream or for having the information logged via a logging framework.
Deliverables
Introduce a new log() method in MockMvcResultHandlers for logging the output via Commons Logging and Log4j.
Consider introducing additional print(..) variants for printing debug information to custom output streams.