fix logging.xml in code templates, closes #750