Uploaded image for project: 'Hippo Site Toolkit 2'
  1. Hippo Site Toolkit 2
  2. HSTTWO-3723

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 3.2.0, 4.0.0
    • Fix Version/s: 4.1.0
    • Component/s: None
    • Labels:
      None
    • Similar issues:
    • Sprint:
      Platform Sprint 136
    • Processed by team:
      Platform

      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

              • Assignee:
                Unassigned
                Reporter:
                abanck Arent-Jan Banck
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: