Fix pluginLogger issue #766