Joerg Hoh created SLING-13400:
---------------------------------

             Summary: Do not log exzessive number of languageRootPaths
                 Key: SLING-13400
                 URL: https://issues.apache.org/jira/browse/SLING-13400
             Project: Sling
          Issue Type: Task
          Components: i18n
            Reporter: Joerg Hoh


We have an application, which has the enormous amount of ~7k languageRootPaths 
in the system. In that case this log statemen

{noformat:title=JcrResourceBundleProvider}
log.info("Currently loaded dictionaries across all locales: {}", 
languageRootPaths);
{noformat}
 
creates a single log message of 330 kilobytes. We should limit the INFO logging 
to maybe 100 paths plus an indication of the total amount of log messages. On 
DEBUG we can log the entire list.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to