GNOME Bugzilla – Bug 321087
GaimLog backend indexes arbitrary files
Last modified: 2005-11-27 16:50:22 UTC
The GaimLog backend recursively indexes all files/directories in the log directory. It should only index known files. Specific issues with .svn files.
Created attachment 54718 [details] [review] GaimLogQueryable cleanups The gaim backend was slightly untidy: We were crawling all directories in GaimLogCrawler to find log files, and also in GaimLogQueryable to create inotify watches. We were indexing all levels of subdir nesting and any file within. GaimLogCrawler was caching write times where LuceneQueryable does that for us (and it was also doing unneccessary DateTime allocations in FileIsInteresting) This patch solves all that and eliminates GaimLogCrawler. I may have gone a little over the top on the filename checking, but using something like regular expressions every time someone says something is too expensive... Cameron, could you please try this against your test data?