Log4j 2
  1. Log4j 2
  2. LOG4J2-452 Log4j2 should not automatically start in Servlet 3.0
  3. LOG4J2-512

Log4j2 need to support Asynchronous Servlets/ Servlet 3.0 while automatically starting, and configurable to initialize and de-initialize loggers

    Details

      Description

      Async servlet (async-supported=true) using with log4j2 breaks the async chain because it does not support async.
      All element in the chain must support async in order to use async.
      Implementation is required to support async servlets(async-supportd=true) it may be automatic or configurable initialization. ( this Issue may be dependent on the issue https://issues.apache.org/jira/browse/LOG4J2-270 )

      Initialization and de-initialization of the logger must be configurable in the java code/config files, to re-load the logger with different properties, that will help the application to reduce re-start burden when it need to use different properties.

        Activity

        Hide
        Nick Williams added a comment -

        Fixed with r1561956. This exposes the web support and the LoggerContext as ServletContext attributes, allowing code in asynchronous threads to set and clear the context as necessary and convenient. It also makes the filter support asynchronous requests. Tomorrow I will commit a separate revision with some web-related documentation updates.

        Show
        Nick Williams added a comment - Fixed with r1561956. This exposes the web support and the LoggerContext as ServletContext attributes, allowing code in asynchronous threads to set and clear the context as necessary and convenient. It also makes the filter support asynchronous requests. Tomorrow I will commit a separate revision with some web-related documentation updates.
        Hide
        Nick Williams added a comment -

        Documentation updated with r1562365.

        Show
        Nick Williams added a comment - Documentation updated with r1562365.

          People

          • Assignee:
            Nick Williams
            Reporter:
            Chandra Sekhar Kakarla
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 466h
              466h
              Remaining:
              Remaining Estimate - 466h
              466h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development