Moved all plug-in discovery logging into a single class to make the code
cleaner.