Class | Description |
---|---|
LoggingWebMvcConfigurer |
MVC Adapter that adds the
TraceIdLoggingWebMvcInterceptor |
StackdriverJsonLayout |
This class provides a JSON layout for a Logback appender compatible to the Stackdriver
log format.
|
StackdriverLoggingAutoConfiguration |
This class configures a Web MVC interceptor to capture trace IDs for log correlation.
|
StackdriverTraceConstants | |
TraceIdLoggingEnhancer |
Adds the trace ID to the logging entry, in its correct format to be displayed in the Logs viewer.
|
TraceIdLoggingWebMvcInterceptor |
org.springframework.web.servlet.HandlerInterceptor that extracts the request
trace ID from the "x-cloud-trace-context" HTTP header and stores it in a thread-local
using TraceIdLoggingEnhancer.setCurrentTraceId(java.lang.String) . |
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.