Class LoggingBootstrapInitializer

java.lang.Object
com.atlassian.confluence.impl.webapp.LoggingBootstrapInitializer
All Implemented Interfaces:
org.springframework.web.WebApplicationInitializer

@Order(1) public class LoggingBootstrapInitializer extends Object implements org.springframework.web.WebApplicationInitializer
A Spring WebApplicationInitializer which configured and bootstraps the Log4j 2.x and SLF4J logging frameworks.

This *must* run before any other application code, otherwise the logging frameworks may get initialized with incorrect configuration.

Since:
8.0
  • Constructor Details

    • LoggingBootstrapInitializer

      public LoggingBootstrapInitializer()
  • Method Details

    • onStartup

      public void onStartup(javax.servlet.ServletContext servletContext) throws javax.servlet.ServletException
      Specified by:
      onStartup in interface org.springframework.web.WebApplicationInitializer
      Throws:
      javax.servlet.ServletException