Removed loggers, and made lf query investment-proof.