Log debug information in filter_samples().