Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-4492

Add support for Log4J2 as a struts and xwork logging backend

    XMLWordPrintableJSON

Details

    Description

      Struts2 has it own logging layer which can be configured to use commons, jdk or slf4j as a logging backend.

      Log4J2 provides similar to Slf4J an own logging api.

      A new Log4J2 implementation should be enabled in the same way like the Slf4J logger implementation.

      {{
      -Dxwork.loggerFactory=com.opensymphony.xwork2.util.logging.log4j2.Log4j2LoggerFactory
      }}

      Attachments

        Activity

          People

            jogep Johannes Geppert
            jogep Johannes Geppert
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: