classAccessLoggingFilter extends TypeAgnostic with Logging
Provides a standard "Access Log" -- a list of all requests through this Filter. The Filter uses an
implementation of the com.twitter.finagle.filter.LogFormatter, ThriftCommonLogFormatter,
which attempts to follow the Common Log Format
as closely as possible.
Usage
To use, configure a logger (with your preferred logging implementation) over this class
which writes to a specific file (typically named, access.log).
Provides a standard "Access Log" -- a list of all requests through this Filter. The Filter uses an implementation of the com.twitter.finagle.filter.LogFormatter, ThriftCommonLogFormatter, which attempts to follow the Common Log Format as closely as possible.
Usage
To use, configure a logger (with your preferred logging implementation) over this class which writes to a specific file (typically named,
access.log
).This Filter should occur as early in the Filter chain as possible such that it is "above" the com.twitter.finatra.thrift.filters.ExceptionMappingFilter.
com.twitter.finagle.filter.LogFormatter
com.twitter.finatra.thrift.filters.ExceptionMappingFilter
Common Log Format