Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-12772

Cannot set package-level log levels in logging servlet

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Won't Do
    • None
    • None
    • repository
    • Flagged
    • Pulsar
    • !Pulsar - StorefrontTemplates, Pulsar 234 - ContentSearch Fin, Pulsar 235 - Eng OKRs

    Description

      It is possible to set package-level log levels by a GET request to the LoggingServlet like so :

      /cms/logging/?ll=org.hippoecm.hst:DEBUG

      It is documented at https://documentation.bloomreach.com/library/administration/servlets-in-use.html

      This no longer works, presumably since the moving to log4j2.
      [edit] This only works if the package is actually set up already in log4j2.xml

      The map returned by method LoggingServlet#getLoggerLevelInfosMap does not contain package-level log levels which prevents setting it.

      Attachments

        Activity

          People

            mchatzidakis Minos Chatzidakis
            jhoffman Jeroen Hoffman
            Hippo Helpdesk Hippo Helpdesk
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: