echo name of template
typo
logging cleanup