fixing so all log files are indexed