[Checkins] [zopefoundation/Products.ZCatalog] c462f7: Fix logging issue in KeywordIndex.

GitHub noreply at github.com
Fri Mar 2 14:00:38 CET 2018


  Branch: refs/heads/fix-KeywordIndex-logging
  Home:   https://github.com/zopefoundation/Products.ZCatalog
  Commit: c462f7533e81ca68361a02d5c2dcbaa1c3f09124
      https://github.com/zopefoundation/Products.ZCatalog/commit/c462f7533e81ca68361a02d5c2dcbaa1c3f09124
  Author: Michael Howitz <mh at gocept.com>
  Date:   2018-03-02 (Fri, 02 Mar 2018)

  Changed paths:
    M CHANGES.rst
    M src/Products/PluginIndexes/KeywordIndex/KeywordIndex.py

  Log Message:
  -----------
  Fix logging issue in KeywordIndex.

The `debug` method of a logger does not accept an `error` keyword, see
https://docs.python.org/3.6/library/logging.html#logging.Logger.debug
resp.
https://docs.python.org/2/library/logging.html#logging.Logger.debug

This issue did not get noticed because the with the default log level in tests
this log message is discarded.




More information about the checkins mailing list