Added feature #15305: Logging cache clearing, credits Stefan Sprenger