tweaks to plugin logging code, don't completely fail if we can't find a gem plugin