Log when rendering a template