Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-846

Combine Log4jWebInitializerImpl into a LoggerContext/LifeCycle wrapper class

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.1
    • None
    • Web/Servlet
    • None

    Description

      This idea is somewhat inspired by Spring's WebApplicationContext/ApplicationContext separation of concerns. Basically, make a WebLoggerContext interface that extends the API LoggerContext interface, have it also extend LifeCycle, and combine the functionality in Log4jWebInitializerImpl into this class instead.

      The reasoning for this change is to work on a way to allow the user to perform additional configuration and such in a web container similar to Spring's WebApplicationInitializer interface. This would also provide another stepping stone to programmatic configuration.

      Attachments

        Activity

          People

            mattsicker Matt Sicker
            mattsicker Matt Sicker
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: