added logging to warn about (too) long SMS messages
Merge logging for long messages