Added log_dir option for filterhits.