You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Tellier Benoit (JIRA)" <se...@james.apache.org> on 2017/07/04 08:51:00 UTC

[jira] [Created] (JAMES-2087) Do not format expensive log if not strictly needed

Tellier Benoit created JAMES-2087:
-------------------------------------

             Summary: Do not format expensive log if not strictly needed
                 Key: JAMES-2087
                 URL: https://issues.apache.org/jira/browse/JAMES-2087
             Project: James Server
          Issue Type: Improvement
          Components: elasticsearch
    Affects Versions: master
            Reporter: Tellier Benoit
             Fix For: master


ElasticSearch formats a debug log with the potentially several kb indexed document.

This log can take up to 400KB of the heap, even when logging level is info or higher.

We should ensure formatting this log only if it is strictly needed.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org