It could be worthwhile to implement a threadpool to parallelize logfile search. This would incur profound changes though.