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

Annoying logging of whitelist/blacklist nomatching as "unknown host exception thrown: listname" if INFO is enabled

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.3.0
    • Fix Version/s: 2.3.0
    • Component/s: SMTPServer
    • Labels:
      None

      Description

      When a checkDNSRBL is done, in case getLogger().isInfoEnabled() is true, both successfull and unsuccessfull matches are being logged.
      While successfull matches are useful to log as INFO, the much more frequent unsuccessfull matches are logged as "unknown host exception thrown: listname", heavily increasing the size of the log file. Such log message is useful only in DEBUG mode.

        Activity

        Hide
        vincenzo Vincenzo Gianferrari Pini added a comment -

        Changed the log message level to debug when match fails.

        Show
        vincenzo Vincenzo Gianferrari Pini added a comment - Changed the log message level to debug when match fails.
        Hide
        danny@apache.org Danny Angus added a comment -

        Closing issue fixed in released version.

        Show
        danny@apache.org Danny Angus added a comment - Closing issue fixed in released version.

          People

          • Assignee:
            vincenzo Vincenzo Gianferrari Pini
            Reporter:
            vincenzo Vincenzo Gianferrari Pini
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development