Prevent empty log messages from being written.
Merge pull request #5129 from ianestrachan/no-empty-memorial-logs

Prevent empty log messages from being written.