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:
committed by
Phillip Webb
parent
143536f72d
commit
e3315d2252
@@ -22,3 +22,8 @@ info.group: @project.groupId@
|
||||
info.artifact: @project.artifactId@
|
||||
info.name: @project.name@
|
||||
info.version: @project.version@
|
||||
|
||||
management.trace.include=REQUEST_HEADERS,RESPONSE_HEADERS,ERRORS,PATH_INFO,\
|
||||
PATH_TRANSLATED,CONTEXT_PATH,USER_PRINCIPAL,PARAMETERS,QUERY_STRING,AUTH_TYPE,\
|
||||
REMOTE_ADDRESS,SESSION_ID,REMOTE_USER
|
||||
|
||||
|
||||
Reference in New Issue
Block a user