Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
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].