alogging.filters.django_sql_excludes module

class alogging.filters.django_sql_excludes.DjangoDbSqlExcludeFilter(name='', excludes=None)[source]

Bases: logging.Filter

Filter to prevent logging misc queries

filter(record)[source]

Determine if the specified record is to be logged.

Is the specified record to be logged? Returns 0 for no, nonzero for yes. If deemed appropriate, the record may be modified in-place.