cleanup of applicationcontexts in logsearch