Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-11120

Reduce log output from BundledScriptTracker

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • Servlets Resolver 2.9.4
    • Servlets
    • None

    Description

      With bundled scripts it might happen that a lot of warnings are outputted, like below. It's usually a capability that doesn't provide its own script, nor does it have a main script or selector script in the one from which it inherits.
      This can also happen if folders in libs hvae a sling:resourceSuperType on them without having scripts in the chain. Sometimes the reason for that is to trigger the Sling Resource Merger for a component dialog

      As this warning does not really provide something actionable but just fills the logs, we should reduce the log level to Debug.

      04.02.2022 09:30:43.427 *WARN* [FelixStartLevel] org.apache.sling.servlets.resolver.internal.bundle.BundledScriptTracker Unable to locate an executable for capability BundledRenderUnitCapability[sling.servlet.resourceTypes=[/libs/foo/templates/bar, foo/templates/bar]; extends=foo/myerviceconfigs/templates/configpage].
      

      Attachments

        Activity

          People

            cziegeler Carsten Ziegeler
            cziegeler Carsten Ziegeler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: