Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-2968

Move "Time Spent in IMAP-*" Log Entry from INFO to DEBUG

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 3.3.0
    • 3.3.0
    • IMAPServer
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jwmalcolm Jerry Malcolm
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m