servletContext.addFilter("teeFilter", TeeFilter.class);
teeFilter.addMappingForUrlPatterns(null, false, "/*");
// Providing URL for Logback Status with OnStatusConsoleListener
ServletRegistration.Dynamic viewStatusMessages =
servletContext.addServlet("viewStatusMessages", new ViewStatusMessagesServlet());
viewStatusMessages.addMapping("/admin/logback");
}