fix logging.xml in code templates, closes #750
merge f95ab15c2853860c279f9323a4997c7895878b2a, refs #750