Add log messages to notification.
Removing < and > from template.map values to generate valid xml.
Adjust values in template.map.
Cannot log notifications errors because of an endless loop.
Adjusting tests to previous commits.