Added logging to plugins
Added log registrar for plugins