Add logging to workbench plugin

Similar to swt plugin