Revert "Core/Logging: store loggers in cache correctly"

This reverts commit c6a4d5a1de1c8e9c7722a5a13695d1273b8cbfbc.
Revert "Core/Logging: Use logger cache for speed up logger filter search"

This reverts commit 39331ea7b9e906b67378a1be6c0c694d264eda3a.