Use logManager in run_plugin.