}
// mimic constructor
application.setName(getServletConfig().getServletName());
application.setContext(new ServletContextAdapter(this, context));
// setting logger explicitly, to override the stupid logger put there by ServletContextAdapter
application.getContext().setLogger(application.getClass().getName());
// --- FROM SUPERCLASS (as is) -- BEGIN