filtering redundant log messages