Allow TraceWebFilter to trace more attributes

Update TraceWebFilter to optionally trace more details from the
HttpServletRequest/HttpServletResponse. The `management.trace.include`
property can be used to change what aspects are logged.

Closes gh-3948
This commit is contained in:
Wallace Wadge
2015-09-12 21:44:20 +02:00
committed by Phillip Webb
parent 143536f72d
commit e3315d2252
6 changed files with 331 additions and 53 deletions

View File

@@ -784,6 +784,9 @@ content into your application; rather pick only the properties that you need.
management.health.solr.enabled=true
management.health.status.order=DOWN, OUT_OF_SERVICE, UNKNOWN, UP
# TRACING (({sc-spring-boot-actuator}/trace/TraceProperties.{sc-ext}[TraceProperties])
management.trace.include=request-headers,response-headers,errors # See TraceProperties.Include for options
# MVC ONLY ENDPOINTS
endpoints.jolokia.path=/jolokia
endpoints.jolokia.sensitive=true