Replace concatenated strings for server logging