Issue #6 new

Add logging to Whoosh

Matt Chaput
repo owner created an issue

Outside of tight loops, Whoosh should using logging to log useful information. By default, the log would be thrown away, but the user could redirect the log to see the information.

For example, when the posting pool writes out a run.

Comments (1)

  1. Thomas Waldmann

    you could use stdlib's logging module.

    be warned, it is a bit of a beast, but it is configurable, is what everybody has available and knows.

    you may want to have a look there (I was wasting quite some time until I found that):

    http://hg.moinmo.in/moin/2.0/file/tip/MoinMoin/log.py

    There are some newer logging libraries btw, but they are not in stdlib. Some of them provide some compatibility mode so the logging calls are same as for stdlib logging.

  2. Log in to comment