Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
public class LogFilter extends OncePerRequestFilter {
private static Logger LOG = LoggerFactory.getLogger(LogFilter.class);
protected void doFilterInternal(HttpServletRequest request, HttpServletResponse response, FilterChain filterChain)
throws ServletException, IOException {; // log the request path.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment