Logging Filters

class botoflow.logging_filters.BotoflowFilter(name='', filter_replaying=True)

You can use this filter with Python's logging module to filter out botoflow logs that are being replayed by the decider.

For example:

import logging
from botoflow.logging_filters import BotoflowFilter

logging.basicConfig(level=logging.DEBUG,
    format='%(filename)s:%(lineno)d (%(funcName)s) - %(message)s')

logging.getLogger('botoflow').addFilter(BotoflowFilter())
filter(record)