Refactor log4jreader to speed.

Not efficient