Added Lucene index search, adapted to log4j 2.