refactor plugin_loader logger