Only load logs for the current category

Rather than loading events for every available category, only load and
show log events for the category which is currently selected.