More uniform logging usage in templates.
The bugfix itself.
Merge branch 'i33-logging-application-templates' into develop