Uploaded image for project: 'Apache ServiceComb'
  1. Apache ServiceComb
  2. SCB-1800 log4j is deprecated package, make log4j implementaions optional
  3. SCB-1802

add document: for servlet transport, remove log4j will cause some change

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • java-chassis-2.0.1
    • Java-Chassis
    • None

    Description

      ```

      public void initLog(ServletContextEvent sce) throws Exception {
      String logMerged = sce.getServletContext().getInitParameter("servicecomb.logging.merged");
      if (!FALSE.toString().equalsIgnoreCase(logMerged))

      { Log4jUtils.init(); }

      }

      ```

       

      when run in servlet container, will init log4j, now log4j is removed for optional, user's need to init log4j themselves. 

      Attachments

        Activity

          People

            liubao68 liubao
            liubao68 liubao
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: