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 "Jerry Malcolm (Jira)" <se...@james.apache.org> on 2019/11/05 16:35:00 UTC

[jira] [Created] (JAMES-2968) Move "Time Spent in IMAP-*" Log Entry from INFO to DEBUG

Jerry Malcolm created JAMES-2968:
------------------------------------

             Summary: Move "Time Spent in IMAP-*" Log Entry from INFO to DEBUG
                 Key: JAMES-2968
                 URL: https://issues.apache.org/jira/browse/JAMES-2968
             Project: James Server
          Issue Type: Improvement
          Components: IMAPServer
    Affects Versions: 3.3.0
            Reporter: Jerry Malcolm
             Fix For: 3.3.0


At logging INFO level the logs have a tremendous number of imap metrics lines:

org.apache.james.metrics.logger.DefaultMetricFactory | Time spent in IMAP-FETCH: 53 ms.

To me this seems more like a DEBUG level log entry.  Obviously a matter of opinion.  But I like to think of INFO level as more 'one-time' entries rather than multiple repetitive heartbeat-type log entries.

Simply recommending changing the log level on that entry from INFO to DEBUG. 

I can make the change and submit a pull request if no objections.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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