Override DbLog class and ignore some logs depend on custom conditions.