Added logging to workbench plugin. Fixes #858