don't allow line breaks in log messages