Fixed empty category name being used in logged message
Using proper LoggingEvent instance to cache data