Use log string templates instead of string concatenation. This should make the code a bit more readable. In preparation of Bugzilla Id: 61176 (and github pr #298)