add log section in template.cfg