[
https://issues.apache.org/jira/browse/SLING-13400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joerg Hoh updated SLING-13400:
------------------------------
Description:
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.
was:
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.
On DEBUG we can log the entire list.
> 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
> Priority: Major
>
> 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)