Add logging to UsingTemplates plugin.