Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-3723

New archetype-based project logs warning on freemarker.log.LoggerFactory

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 3.2.0, 4.0.0
    • 4.1.0
    • None
    • None
    • Platform Sprint 136

    Description

      When creating a new project based on the archetype and start it a warning is logged:
      [WARNING] [talledLocalContainer] WARN freemarker.log.LoggerFactory: Logger library was already set earlier to "auto"; change to "none" won't effect loggers created earlier.
      [INFO] [talledLocalContainer] 24-Jun-2016 09:50:19.779 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive /work/projects/release11/test/myhippoproject/target/tomcat8x/webapps/site.war has finished in 5,367 ms

      Reporting on HST as a quick search shows [1] calls the deprecated method freemarker.log.Logger.selectLoggerLibrary that seems to cause this warning.

      https://code.onehippo.org/cms-community/hippo-site-toolkit/blob/master/client/src/main/java/org/hippoecm/hst/servlet/HstFreemarkerServlet.java#L150

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              abanck Arent-Jan Banck (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: