fix logging.xml in code templates, closes #674
merge 2deb6d1ca486ed44a840178aa79c34cc7b4e2843, refs #674