Fixed logging issues in plugins using this gem.