[
https://issues.apache.org/jira/browse/SLING-13400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joerg Hoh resolved SLING-13400.
-------------------------------
Fix Version/s: i18n 3.0.2
Resolution: Fixed
> Do not log excessive 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
> Assignee: Joerg Hoh
> Priority: Major
> Fix For: i18n 3.0.2
>
>
> 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
> languageRootPaths if the list exceeds 100 entries. On DEBUG we can log the
> entire list.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)