Reading logs#

If logging is configured using a default configuration, then log messages are written to info.log (and possibly debug.log).

Log messages are formatted as:

%(asctime)s - %(process)d - %(name)s - %(levelname)s - %(message)s

You can find the meaning of the %(…)s attributes in the Python documentation.

In particular, you can use the name attribute to filter messages by topic. For example:

grep NAME info.log | less

where NAME is one of:


An INFO-level message whenever a CLI command is run, by a user or by cron.


An INFO-level message from the add command.


An INFO-level message from the remove command.


An INFO-level message from the field-counts routine.


An INFO-level message from the summary-tables routine.